diff options
author | Eric Dumazet <[email protected]> | 2019-04-23 09:24:46 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-04-24 11:46:54 -0700 |
commit | 4109a2c3b91e5f38e401fc4ea56848e65e429785 (patch) | |
tree | 5926a946b170e83fa231881157cfa66d6d6f8723 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | a65120bae4b7425a39c5783aa3d4fc29677eef0e (diff) |
tipc: tipc_udp_recv() cleanup vs rcu verbs
First thing tipc_udp_recv() does is to use rcu_dereference_sk_user_data(),
and this is really hinting we already own rcu_read_lock() from the caller
(UDP stack).
No need to add another rcu_read_lock()/rcu_read_unlock() pair.
Also use rcu_dereference() instead of rcu_dereference_rtnl()
in the data path.
Signed-off-by: Eric Dumazet <[email protected]>
Cc: Jon Maloy <[email protected]>
Cc: Ying Xue <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions