Mon, Apr 06, 2026 at 05:03:37AM +0200, [email protected] wrote:
>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.
>
>Signed-off-by: Marc Harvey <[email protected]>
>---
>Changes in v5:
>- None
>
>Changes in v4:
>- None
>
>Changes in v3:
>- None
>
>Changes in v2:
>- None

Nit: I don't think you need to add such record when there is no change.


Reviewed-by: Jiri Pirko <[email protected]>

Reply via email to