[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150527.143143.1055130037582665499.davem@davemloft.net>
Date: Wed, 27 May 2015 14:31:43 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: cdleonard@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH net-next] tcp: connect() from bound sockets can be
faster
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 27 May 2015 10:46:02 -0700
> From: Eric Dumazet <edumazet@...gle.com>
>
> __inet_hash_connect() does not use its third argument (port_offset)
> if socket was already bound to a source port.
>
> No need to perform useless but expensive md5 computations.
>
> Reported-by: Crestez Dan Leonard <cdleonard@...il.com>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Looks great, applied, thanks Eric!
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists