]> git.ipfire.org Git - thirdparty/linux.git/commit
net: bridge: annotate data-races around fdb->{updated,used}
authorEric Dumazet <edumazet@google.com>
Thu, 8 Jan 2026 09:38:06 +0000 (09:38 +0000)
committerJakub Kicinski <kuba@kernel.org>
Sat, 10 Jan 2026 01:36:21 +0000 (17:36 -0800)
commitb25a0b4a2193407aa72a4cd1df66a7ed07dd4f1e
treec14a0ec8797e248d75f6d0b28b997f867ff70713
parent872ac785e7680dac9ec7f8c5ccd4f667f49d6997
net: bridge: annotate data-races around fdb->{updated,used}

fdb->updated and fdb->used are read and written locklessly.

Add READ_ONCE()/WRITE_ONCE() annotations.

Fixes: 31cbc39b6344 ("net: bridge: add option to allow activity notifications for any fdb entries")
Reported-by: syzbot+bfab43087ad57222ce96@syzkaller.appspotmail.com
Closes: https://lore.kernel.org/netdev/695e3d74.050a0220.1c677c.035f.GAE@google.com/
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Link: https://patch.msgid.link/20260108093806.834459-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/bridge/br_fdb.c
net/bridge/br_input.c