diff options
| author | Eric Dumazet <edumazet@google.com> | 2026-06-04 14:13:38 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-06-05 17:46:17 -0700 |
| commit | 5deaf049515836b49d3b63f0c81dca965672daab (patch) | |
| tree | 4d278084de1f4dbc4695342bba7ede7797979f58 /include/linux/patchkey.h | |
| parent | f236240c9beba15ea6fc6580c6cc63c40725d3ff (diff) | |
bridge: provide lockless access to p->designated_cost
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>
Link: https://patch.msgid.link/20260604141343.2124500-7-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/patchkey.h')
0 files changed, 0 insertions, 0 deletions
