tcp: Add timewait recycling bits to ipv6 connect code.
authorDavid S. Miller <davem@davemloft.net>
Thu, 2 Dec 2010 20:14:29 +0000 (12:14 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Dec 2010 20:14:29 +0000 (12:14 -0800)
commit493f377d6dd56f4e98b198d637fe714ab124681b
tree2e505bb0908fabd1f5cec1e40302e9f5b2d33077
parentae4694b2d3e4c0f47c0e804a68417be57e5daf85
tcp: Add timewait recycling bits to ipv6 connect code.

This will also improve handling of ipv6 tcp socket request
backlog when syncookies are not enabled.  When backlog
becomes very deep, last quarter of backlog is limited to
validated destinations.  Previously only ipv4 implemented
this logic, but now ipv6 does too.

Now we are only one step away from enabling timewait
recycling for ipv6, and that step is simply filling in
the implementation of tcp_v6_get_peer() and
tcp_v6_tw_get_peer().

Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/request_sock.c
net/ipv6/tcp_ipv6.c