On Wed, Apr 8, 2026 at 7:59 PM Marc Harvey <[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.
>
> Reviewed-by: Jiri Pirko <[email protected]>
> Signed-off-by: Marc Harvey <[email protected]>

Reviewed-by: Kuniyuki Iwashima <[email protected]>

fwiw, Sashiko's review is orthogonal to this patch;
the comments are for the existing code before this patch.

Reply via email to