Re: [PATCH net] net/packet: remove data races in fanout operations

2021-04-14 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Wed, 14 Apr 2021 12:36:44 -0700 you wrote: > From: Eric Dumazet > > af_packet fanout uses RCU rules to ensure f->arr elements > are not dismantled before RCU grace period. > > However, it lacks rcu accessors to make s

[PATCH net] net/packet: remove data races in fanout operations

2021-04-14 Thread Eric Dumazet
From: Eric Dumazet af_packet fanout uses RCU rules to ensure f->arr elements are not dismantled before RCU grace period. However, it lacks rcu accessors to make sure KCSAN and other tools wont detect data races. Stupid compilers could also play games. Fixes: dc99f600698d ("packet: Add fanout su