Thread (8 messages) 8 messages, 4 authors, 1d ago

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

From: Kuniyuki Iwashima <kuniyu@google.com>
Date: 2026-07-01 22:11:20

On Wed, Jul 1, 2026 at 5:09 AM Nikolay Aleksandrov [off-list ref] wrote:
On 01/07/2026 11:22, Eric Dumazet wrote:
quoted
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>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help