diff options
author | Eric Dumazet <edumazet@google.com> | 2015-09-30 06:18:23 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-10-05 03:19:06 -0700 |
commit | ac8cfc7bb836835bd68c3ab9da242747e9df9542 (patch) | |
tree | 0917df029476fd81f63f316d14b4e838294dae81 /net/core | |
parent | 77946de51bd165d55306a47410dd6757d93bc394 (diff) | |
download | linux-stable-ac8cfc7bb836835bd68c3ab9da242747e9df9542.tar.gz linux-stable-ac8cfc7bb836835bd68c3ab9da242747e9df9542.tar.bz2 linux-stable-ac8cfc7bb836835bd68c3ab9da242747e9df9542.zip |
tcp: restore fastopen operations
I accidentally cleared fastopenq.max_qlen in reqsk_queue_alloc()
while max_qlen can be set before listen() is called,
using TCP_FASTOPEN socket option for example.
Fixes: 0536fcc039a8 ("tcp: prepare fastopen code for upcoming listener changes")
Signed-off-by: Eric Dumazet <edumazet@google.com>
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, 0 insertions, 1 deletions
diff --git a/net/core/request_sock.c b/net/core/request_sock.c index 15c853806518..5d26056b6d8f 100644 --- a/net/core/request_sock.c +++ b/net/core/request_sock.c @@ -45,7 +45,6 @@ void reqsk_queue_alloc(struct request_sock_queue *queue) queue->fastopenq.rskq_rst_head = NULL; queue->fastopenq.rskq_rst_tail = NULL; queue->fastopenq.qlen = 0; - queue->fastopenq.max_qlen = 0; queue->rskq_accept_head = NULL; } |