[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140806.145218.1742159418901363810.davem@davemloft.net>
Date: Wed, 06 Aug 2014 14:52:18 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: ixaphire@...tor.net
Cc: yoshfuji@...ux-ipv6.org, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH net-next v2] tcp: md5: check md5 signature without
socket lock
From: Dmitry Popov <ixaphire@...tor.net>
Date: Thu, 7 Aug 2014 01:49:53 +0400
> 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@...tor.net>
Please respin this against the current 'net' tree, it doesn't apply.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists