]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0c47c1c8f249e45d14690acc8773a5a5dba34e88
tree2e505bb0908fabd1f5cec1e40302e9f5b2d33077
parent6c937f9c8df30976306c79bbec2235b406e6da80
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