aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2021-04-14 12:36:44 -0700
committerDavid S. Miller <[email protected]>2021-04-14 14:34:38 -0700
commit94f633ea8ade8418634d152ad0931133338226f6 (patch)
treec019e8e3ca087c7ffb9a076508b8f25d2726893e /tools/perf/scripts/python/bin/stackcollapse-record
parentae1ea84b33dab45c7b6c1754231ebda5959b504c (diff)
net/packet: remove data races in fanout operations
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 support.") Signed-off-by: Eric Dumazet <[email protected]> Reported-by: "Gong, Sishuai" <[email protected]> Cc: Willem de Bruijn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions