Re: [PATCH net-next] tcp/dccp: fix behavior of stale SYN_RECV request sockets

2015-10-13 Thread David Miller
From: Eric Dumazet Date: Tue, 13 Oct 2015 17:12:54 -0700 > From: Eric Dumazet > > When a TCP/DCCP listener is closed, its pending SYN_RECV request sockets > become stale, meaning 3WHS can not complete. > > But current behavior is wrong : > incoming packets finding such stale sockets are droppe

[PATCH net-next] tcp/dccp: fix behavior of stale SYN_RECV request sockets

2015-10-13 Thread Eric Dumazet
From: Eric Dumazet When a TCP/DCCP listener is closed, its pending SYN_RECV request sockets become stale, meaning 3WHS can not complete. But current behavior is wrong : incoming packets finding such stale sockets are dropped. We need instead to cleanup the request socket and perform another loo