Files
linux/include
Marc Harvey 3faf0ce6e4 net: team: Annotate reads and writes for mixed lock accessed values
The team_port's "index" and the team's "en_port_count" are read in
the hot transmit path, but are only written to when holding the rtnl
lock.

Use READ_ONCE() for all lockless reads of these values, and use
WRITE_ONCE() for all writes.

Reviewed-by: Jiri Pirko <[email protected]>
Signed-off-by: Marc Harvey <[email protected]>
Reviewed-by: Kuniyuki Iwashima <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
2026-04-13 15:09:48 +02:00
..
…
…
…
…
…
…
…
…
…
…
…