tcp: restore fastopen operations
authorEric Dumazet <edumazet@google.com>
Wed, 30 Sep 2015 13:18:23 +0000 (06:18 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Oct 2015 10:19:06 +0000 (03:19 -0700)
commitac8cfc7bb836835bd68c3ab9da242747e9df9542
tree0917df029476fd81f63f316d14b4e838294dae81
parent77946de51bd165d55306a47410dd6757d93bc394
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>
net/core/request_sock.c