]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
bridge: provide lockless access to p->priority
authorEric Dumazet <edumazet@google.com>
Thu, 4 Jun 2026 14:13:40 +0000 (14:13 +0000)
committerJakub Kicinski <kuba@kernel.org>
Sat, 6 Jun 2026 00:46:18 +0000 (17:46 -0700)
commitabe46dbe52da0e3aa0c92aaf99624e85ecf89fd6
tree906d1e2f6092455fa9f1fcaf895666ec19e8cd50
parent009b1dc8bf64a8a5ec73a99fc8294523b671a883
bridge: provide lockless access to p->priority

sysfs show_priority() needs this.

Also br_port_fill_attrs() might in the future run without RTNL.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Link: https://patch.msgid.link/20260604141343.2124500-9-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/bridge/br_netlink.c
net/bridge/br_stp_if.c
net/bridge/br_sysfs_if.c