summaryrefslogtreecommitdiffstats
path: root/net/tls
diff options
context:
space:
mode:
authorEric Dumazet2019-04-23 18:24:46 +0200
committerDavid S. Miller2019-04-24 20:46:54 +0200
commit4109a2c3b91e5f38e401fc4ea56848e65e429785 (patch)
tree5926a946b170e83fa231881157cfa66d6d6f8723 /net/tls
parentipv6: Use result arg in fib_lookup_arg consistently (diff)
downloadkernel-qcow2-linux-4109a2c3b91e5f38e401fc4ea56848e65e429785.tar.gz
kernel-qcow2-linux-4109a2c3b91e5f38e401fc4ea56848e65e429785.tar.xz
kernel-qcow2-linux-4109a2c3b91e5f38e401fc4ea56848e65e429785.zip
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 <edumazet@google.com> Cc: Jon Maloy <jon.maloy@ericsson.com> Cc: Ying Xue <ying.xue@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tls')
0 files changed, 0 insertions, 0 deletions