Subject: Re: [PATCH net-next 07/11] bridge: provide lockless access to p->designated_port

From: Ido Schimmel <[email-masked]>
Date: Sun, 24 May 2026 15:48:42 +0300

On Thu, May 21, 2026 at 01:19:12PM +0000, Eric Dumazet wrote:
> Add READ_ONCE()/WRITE_ONCE() annotations around p->designated_cost

s/designated_cost/designated_port/

> 
> This is needed at least for sysfs show_designated_port(), BRCTL_GET_PORT_INFO
> and upcoming RTNL avoidance in "ip link" dumps (cf br_port_fill_attrs()).
> 
> Signed-off-by: Eric Dumazet <[email-masked]>

Reviewed-by: Ido Schimmel <[email-masked]>