Eric Dumazet ebb516af60 tcp/dccp: fix race at listener dismantle phase
Under stress, a close() on a listener can trigger the
WARN_ON(sk->sk_ack_backlog) in inet_csk_listen_stop()

We need to test if listener is still active before queueing
a child in inet_csk_reqsk_queue_add()

Create a common inet_child_forget() helper, and use it
from inet_csk_reqsk_queue_add() and inet_csk_listen_stop()

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-10-16 00:52:19 -07:00
..
2015-08-30 18:12:36 -04:00
2015-10-13 17:42:34 +02:00
2015-10-08 04:27:03 -07:00
2015-08-24 14:48:10 -07:00
2015-10-07 04:27:43 -07:00
2015-10-08 04:27:03 -07:00
2015-10-01 16:38:52 -04:00
2015-10-08 04:27:03 -07:00