Thread (8 messages) 8 messages, 4 authors, 15h ago

Re: [PATCH net-next 1/2] macvlan: annotate data-races around vlan->mode and vlan->flags

From: Nikolay Aleksandrov <razor@blackwall.org>
Date: 2026-07-01 12:09:43

On 01/07/2026 11:22, Eric Dumazet wrote:
Both fields can be changed in macvlan_changelink() while being read
locklessly.

Add READ_ONCE()/WRITE_ONCE() annotations.

Signed-off-by: Eric Dumazet <edumazet@google.com>
---
  drivers/net/macvlan.c | 38 +++++++++++++++++++++-----------------
  1 file changed, 21 insertions(+), 17 deletions(-)
Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help