Files
linux-stable-mirror/include/linux
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 <jiri@nvidia.com>
Signed-off-by: Marc Harvey <marcharvey@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20260409-teaming-driver-internal-v7-1-f47e7589685d@google.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2026-04-13 15:09:48 +02:00
..
2026-02-11 13:44:47 +01:00
2026-02-12 04:23:53 -07:00
2026-02-19 09:12:05 +01:00
2026-02-06 07:29:14 -07:00
2026-04-01 10:19:41 +02:00
2026-02-20 17:31:55 -05:00
2026-02-10 11:39:31 +01:00
2026-02-10 11:39:30 +01:00
2026-03-27 17:14:31 -07:00