aboutsummaryrefslogtreecommitdiff
path: root/net/dccp/input.c
diff options
context:
space:
mode:
authorDmitry Popov2014-08-07 02:38:22 +0400
committerDavid S. Miller2014-08-06 16:00:20 -0700
commit9ea88a153001ffeb3d8810917e8eea62ca9b6f25 (patch)
tree5e0139567bed202fc110fbe1e78febe385f410ca /net/dccp/input.c
parent269f8cb2608c7bdebadeb9a2061ba42dcd6d4ff7 (diff)
tcp: md5: check md5 signature without socket lock
Since a8afca032 (tcp: md5: protects md5sig_info with RCU) tcp_md5_do_lookup doesn't require socket lock, rcu_read_lock is enough. Therefore socket lock is no longer required for tcp_v{4,6}_inbound_md5_hash too, so we can move these calls (wrapped with rcu_read_{,un}lock) before bh_lock_sock: from tcp_v{4,6}_do_rcv to tcp_v{4,6}_rcv. Signed-off-by: Dmitry Popov <ixaphire@qrator.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/input.c')
0 files changed, 0 insertions, 0 deletions