diff options
author | David S. Miller <davem@davemloft.net> | 2010-12-02 12:14:29 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-02 12:14:29 -0800 |
commit | 493f377d6dd56f4e98b198d637fe714ab124681b (patch) | |
tree | 2e505bb0908fabd1f5cec1e40302e9f5b2d33077 /net/core | |
parent | ae4694b2d3e4c0f47c0e804a68417be57e5daf85 (diff) | |
download | kernel_samsung_espresso10-493f377d6dd56f4e98b198d637fe714ab124681b.zip kernel_samsung_espresso10-493f377d6dd56f4e98b198d637fe714ab124681b.tar.gz kernel_samsung_espresso10-493f377d6dd56f4e98b198d637fe714ab124681b.tar.bz2 |
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>
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/request_sock.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/request_sock.c b/net/core/request_sock.c index 7552495..41d9943 100644 --- a/net/core/request_sock.c +++ b/net/core/request_sock.c @@ -33,6 +33,7 @@ * Note : Dont forget somaxconn that may limit backlog too. */ int sysctl_max_syn_backlog = 256; +EXPORT_SYMBOL(sysctl_max_syn_backlog); int reqsk_queue_alloc(struct request_sock_queue *queue, unsigned int nr_table_entries) |