From: Shaokun Zhang
Date: Sat, 16 May 2020 11:46:49 +0800
> From: Yuqi Jin
>
> Commit adb03115f459 ("net: get rid of an signed integer overflow in
> ip_idents_reserve()")
> used atomic_cmpxchg to replace "atomic_add_return" inside the function
> "ip_idents_reserve". The reason was to avoid
From: Yuqi Jin
Commit adb03115f459 ("net: get rid of an signed integer overflow in
ip_idents_reserve()")
used atomic_cmpxchg to replace "atomic_add_return" inside the function
"ip_idents_reserve". The reason was to avoid UBSAN warning.
However, this change has caused performance degrade and in
2 matches
Mail list logo