commit | e2baad9e4b153c67dddc5ccf987395b842329c84 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Wed May 27 10:46:02 2015 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed May 27 14:30:10 2015 -0400 |
tree | f33a2c65ac5d1b832967e737e17bf19c4e79b34a | |
parent | 5a7e4b48104d390bba323d5cf9764cbbc9819eb7 [diff] |
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>