]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf1701791293bdcd88f06325c3272c3f525099207
tree0917df029476fd81f63f316d14b4e838294dae81
parent53398466fb13d9bfc01491636a481b2a1b90b8f2
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: f63a620c0301 ("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