diff options
author | Eric Dumazet <edumazet@google.com> | 2015-05-27 19:46:02 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-05-27 20:30:10 +0200 |
commit | e2baad9e4b153c67dddc5ccf987395b842329c84 (patch) | |
tree | f33a2c65ac5d1b832967e737e17bf19c4e79b34a /net/ipv4/gre_offload.c | |
parent | Merge branch 'cxgb4-next' (diff) | |
download | linux-e2baad9e4b153c67dddc5ccf987395b842329c84.tar.xz linux-e2baad9e4b153c67dddc5ccf987395b842329c84.zip |
tcp: connect() from bound sockets can be faster
__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@gmail.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/gre_offload.c')
0 files changed, 0 insertions, 0 deletions