From: Dmitry Popov Date: Wed, 6 Aug 2014 22:38:22 +0000 (+0400) Subject: tcp: md5: check md5 signature without socket lock X-Git-Tag: omap-for-v3.17/fixes-against-rc2~138^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ea88a153001ffeb3d8810917e8eea62ca9b6f25;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed