Thread (14 messages) 14 messages, 3 authors, 19d ago

Re: [PATCH v3 net-next 06/11] bridge: provide lockless access to p->designated_cost

From: Ido Schimmel <idosch@nvidia.com>
Date: 2026-06-04 18:43:38

On Thu, Jun 04, 2026 at 02:13:38PM +0000, Eric Dumazet wrote:
Add READ_ONCE()/WRITE_ONCE() annotations around p->designated_cost

This is needed at least for sysfs show_designated_cost(), BRCTL_GET_PORT_INFO
and upcoming RTNL avoidance in "ip link" dumps (cf br_port_fill_attrs()).

Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>

Thanks!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help