Re: TCP_DEFER_ACCEPT wakes up without data

2020-06-09 Thread Christoph Paasch
Hello, On Sun, Jun 7, 2020 at 3:00 AM Florian Westphal wrote: > > Eric Dumazet wrote: > > > Sure! TCP_DEFER_ACCEPT delays the creation of the socket until data > > > has been sent by the client *or* the specified time has expired upon > > > which a last SYN/ACK is sent and if the client replies

Re: TCP_DEFER_ACCEPT wakes up without data

2020-06-07 Thread Leif Hedstrom
> On Jun 7, 2020, at 04:01, Florian Westphal wrote: > > Eric Dumazet wrote: >>> Sure! TCP_DEFER_ACCEPT delays the creation of the socket until data >>> has been sent by the client *or* the specified time has expired upon >>> which a last SYN/ACK is sent and if the client replies with an ACK

Re: TCP_DEFER_ACCEPT wakes up without data

2020-06-07 Thread Florian Westphal
Eric Dumazet wrote: > > Sure! TCP_DEFER_ACCEPT delays the creation of the socket until data > > has been sent by the client *or* the specified time has expired upon > > which a last SYN/ACK is sent and if the client replies with an ACK the > > socket will be created and presented to the accept()-c

Re: TCP_DEFER_ACCEPT wakes up without data

2020-06-05 Thread Julian Anastasov
Hello, On Thu, 4 Jun 2020, Christoph Paasch wrote: > On Wed, Jun 11, 2014 at 11:05 PM Julian Anastasov wrote: > > > > > > > The behavior that we want is for the receipt of the duplicate bare > > > ACK to not result in waking up user space. The socket still hasn't > > > received any da

Re: TCP_DEFER_ACCEPT wakes up without data

2020-06-05 Thread Eric Dumazet
On 6/5/20 7:57 AM, Christoph Paasch wrote: > On Thu, Jun 4, 2020 at 6:28 PM Eric Dumazet wrote: >> >> >> >> On 6/4/20 4:18 PM, Christoph Paasch wrote: >>> +Eric & Leif >>> >>> Hello, >>> >>> >>> (digging out an old thread ... ;-) ) >>> >> >> Is there a tldr; ? > > Sure! TCP_DEFER_ACCEPT delays

Re: TCP_DEFER_ACCEPT wakes up without data

2020-06-05 Thread Christoph Paasch
On Thu, Jun 4, 2020 at 6:28 PM Eric Dumazet wrote: > > > > On 6/4/20 4:18 PM, Christoph Paasch wrote: > > +Eric & Leif > > > > Hello, > > > > > > (digging out an old thread ... ;-) ) > > > > Is there a tldr; ? Sure! TCP_DEFER_ACCEPT delays the creation of the socket until data has been sent by th

Re: TCP_DEFER_ACCEPT wakes up without data

2020-06-04 Thread Eric Dumazet
On 6/4/20 4:18 PM, Christoph Paasch wrote: > +Eric & Leif > > Hello, > > > (digging out an old thread ... ;-) ) > Is there a tldr; ?

Re: TCP_DEFER_ACCEPT wakes up without data

2020-06-04 Thread Christoph Paasch
+Eric & Leif Hello, (digging out an old thread ... ;-) ) On Wed, Jun 11, 2014 at 11:05 PM Julian Anastasov wrote: > > > Hello, > > On Tue, 10 Jun 2014, Wayne Badger wrote: > > > On 6/7/14, 10:41 AM, Julian Anastasov wrote: > > > > > > This discussion (http://marc.info/?t=1255410629