tcp/dccp: add a reschedule point in inet_csk_listen_stop()
authorEric Dumazet <edumazet@google.com>
Fri, 2 Oct 2015 18:43:38 +0000 (11:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Oct 2015 11:32:45 +0000 (04:32 -0700)
commit92d6f176fdcce1a9c22a59d754c924168fdf2ce4
tree79787c724f3b6cf10af328ff62d577557a9b4b53
parentef547f2ac16bd9d77a780a0e7c70857e69e8f23f
tcp/dccp: add a reschedule point in inet_csk_listen_stop()

If a listener with thousands of children in accept queue
is dismantled, it can take a while to close all of them.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/inet_connection_sock.c