summaryrefslogtreecommitdiffstats
path: root/crypto/sha1_generic.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2015-10-14 20:16:28 +0200
committerDavid S. Miller <davem@davemloft.net>2015-10-16 09:52:19 +0200
commitebb516af60e18258aac8e80bbe068740ef1579ed (patch)
treebf2c3efa6f72141e1824bcd075fcfcc250475476 /crypto/sha1_generic.c
parenttcp/dccp: add inet_csk_reqsk_queue_drop_and_put() helper (diff)
downloadlinux-ebb516af60e18258aac8e80bbe068740ef1579ed.tar.xz
linux-ebb516af60e18258aac8e80bbe068740ef1579ed.zip
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>
Diffstat (limited to 'crypto/sha1_generic.c')
0 files changed, 0 insertions, 0 deletions