From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next] tcp: md5: only call tp->af_specific->md5_lookup() for md5 sockets Date: Tue, 24 Apr 2018 13:20:58 -0400 (EDT) Message-ID: <20180424.132058.2069144376623963554.davem@davemloft.net> References: <20180423214625.107867-1-edumazet@google.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, eric.dumazet@gmail.com To: edumazet@google.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:37552 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750757AbeDXRU7 (ORCPT ); Tue, 24 Apr 2018 13:20:59 -0400 In-Reply-To: <20180423214625.107867-1-edumazet@google.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Eric Dumazet Date: Mon, 23 Apr 2018 14:46:25 -0700 > RETPOLINE made calls to tp->af_specific->md5_lookup() quite expensive, > given they have no result. > We can omit the calls for sockets that have no md5 keys. > > Signed-off-by: Eric Dumazet Applied, thanks Eric.