diff options
author | Shlomo Pongratz <[email protected]> | 2014-02-02 15:42:10 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2014-02-04 20:01:55 -0800 |
commit | a664a4f7aa4f01ca8728e3ec43618327416fc8ff (patch) | |
tree | 62866bf915a2074380ec6c066ee7330804b39cda /tools/perf/scripts/python/syscall-counts.py | |
parent | 9330ed16da840b1b68cd99600d403b6f3e9fa4e2 (diff) |
net/ipv4: Use proper RCU APIs for writer-side in udp_offload.c
RCU writer side should use rcu_dereference_protected() and not
rcu_dereference(), fix that. This also removes the "suspicious RCU usage"
warning seen when running with CONFIG_PROVE_RCU.
Also, don't use rcu_assign_pointer/rcu_dereference for pointers
which are invisible beyond the udp offload code.
Fixes: b582ef0 ('net: Add GRO support for UDP encapsulating protocols')
Reported-by: Eric Dumazet <[email protected]>
Cc: Eric Dumazet <[email protected]>
Signed-off-by: Or Gerlitz <[email protected]>
Signed-off-by: Shlomo Pongratz <[email protected]>
Acked-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions