diff options
| author | Eric Dumazet <edumazet@google.com> | 2026-06-11 23:34:51 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-06-13 04:03:46 +0300 |
| commit | 65b8de45ae05b949bd7dbd60c39169a4133bdcac (patch) | |
| tree | a8327b66d6914093e3978cb5b010c98cd8fe849a /include/uapi/linux | |
| parent | e92df84bcc3b699fced5d0eeff56c71053fdb194 (diff) | |
| download | linux-65b8de45ae05b949bd7dbd60c39169a4133bdcac.tar.xz | |
net: bridge: use atomic ops to read/change p->flags (I)
Use test_bit() in net/bridge/br_arp_nd_proxy.c,
net/bridge/br_fdb.c and net/bridge/br_forward.c.
Use READ_ONCE(p->flags) in br_recalculate_neigh_suppress_enabled()
as we test two bits at once.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Link: https://patch.msgid.link/20260611203453.3067462-4-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
