summaryrefslogtreecommitdiffstats
path: root/net/dns_resolver
diff options
context:
space:
mode:
authorDmitry Popov <ixaphire@qrator.net>2014-08-07 00:38:22 +0200
committerDavid S. Miller <davem@davemloft.net>2014-08-07 01:00:20 +0200
commit9ea88a153001ffeb3d8810917e8eea62ca9b6f25 (patch)
tree5e0139567bed202fc110fbe1e78febe385f410ca /net/dns_resolver
parentnet: fix USB network driver config option. (diff)
downloadlinux-9ea88a153001ffeb3d8810917e8eea62ca9b6f25.tar.xz
linux-9ea88a153001ffeb3d8810917e8eea62ca9b6f25.zip
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/dns_resolver')
0 files changed, 0 insertions, 0 deletions