summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2015-05-27 20:46:02 +0300
committerDavid S. Miller <davem@davemloft.net>2015-05-27 21:30:10 +0300
commite2baad9e4b153c67dddc5ccf987395b842329c84 (patch)
treef33a2c65ac5d1b832967e737e17bf19c4e79b34a /drivers
parent5a7e4b48104d390bba323d5cf9764cbbc9819eb7 (diff)
downloadlinux-e2baad9e4b153c67dddc5ccf987395b842329c84.tar.xz
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 'drivers')
0 files changed, 0 insertions, 0 deletions