diff options
author | Dmitry Popov <ixaphire@qrator.net> | 2014-08-07 02:38:22 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-08-06 16:00:20 -0700 |
commit | 9ea88a153001ffeb3d8810917e8eea62ca9b6f25 (patch) | |
tree | 5e0139567bed202fc110fbe1e78febe385f410ca /net/rfkill/input.c | |
parent | 269f8cb2608c7bdebadeb9a2061ba42dcd6d4ff7 (diff) | |
download | blackbird-op-linux-9ea88a153001ffeb3d8810917e8eea62ca9b6f25.tar.gz blackbird-op-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/rfkill/input.c')
0 files changed, 0 insertions, 0 deletions