Re: [PATCH net-next] tcp/dccp: drop SYN packets if accept queue is full

2016-10-29 Thread David Miller
From: Eric Dumazet Date: Wed, 26 Oct 2016 09:27:57 -0700 > From: Eric Dumazet > > Per listen(fd, backlog) rules, there is really no point accepting a SYN, > sending a SYNACK, and dropping the following ACK packet if accept queue > is full, because application is not draining accept queue fast e

Re: [PATCH net-next] tcp/dccp: drop SYN packets if accept queue is full

2016-10-26 Thread Yuchung Cheng
On Wed, Oct 26, 2016 at 11:39 AM, Neal Cardwell wrote: > > On Wed, Oct 26, 2016 at 12:27 PM, Eric Dumazet wrote: > > From: Eric Dumazet > > > > Per listen(fd, backlog) rules, there is really no point accepting a SYN, > > sending a SYNACK, and dropping the following ACK packet if accept queue > >

Re: [PATCH net-next] tcp/dccp: drop SYN packets if accept queue is full

2016-10-26 Thread Neal Cardwell
On Wed, Oct 26, 2016 at 12:27 PM, Eric Dumazet wrote: > From: Eric Dumazet > > Per listen(fd, backlog) rules, there is really no point accepting a SYN, > sending a SYNACK, and dropping the following ACK packet if accept queue > is full, because application is not draining accept queue fast enough

[PATCH net-next] tcp/dccp: drop SYN packets if accept queue is full

2016-10-26 Thread Eric Dumazet
From: Eric Dumazet Per listen(fd, backlog) rules, there is really no point accepting a SYN, sending a SYNACK, and dropping the following ACK packet if accept queue is full, because application is not draining accept queue fast enough. This behavior is fooling TCP clients that believe they establ