Re: [PATCH net] tcp: properly scale window in tcp_v[46]_reqsk_send_ack()

2016-08-23 Thread David Miller
From: Eric Dumazet Date: Mon, 22 Aug 2016 11:31:10 -0700 > From: Eric Dumazet > > When sending an ack in SYN_RECV state, we must scale the offered > window if wscale option was negotiated and accepted. > > Tested: > Following packetdrill test demonstrates the issue : ... > Signed-off-by: Eri

Re: [PATCH net] tcp: properly scale window in tcp_v[46]_reqsk_send_ack()

2016-08-22 Thread Neal Cardwell
On Mon, Aug 22, 2016 at 2:31 PM, Eric Dumazet wrote: > From: Eric Dumazet > > When sending an ack in SYN_RECV state, we must scale the offered > window if wscale option was negotiated and accepted. > > Tested: > Following packetdrill test demonstrates the issue : > > 0.000 socket(..., SOCK_STREA

Re: [PATCH net] tcp: properly scale window in tcp_v[46]_reqsk_send_ack()

2016-08-22 Thread Yuchung Cheng
On Mon, Aug 22, 2016 at 11:31 AM, Eric Dumazet wrote: > From: Eric Dumazet > > When sending an ack in SYN_RECV state, we must scale the offered > window if wscale option was negotiated and accepted. > > Tested: > Following packetdrill test demonstrates the issue : > > 0.000 socket(..., SOCK_STRE

[PATCH net] tcp: properly scale window in tcp_v[46]_reqsk_send_ack()

2016-08-22 Thread Eric Dumazet
From: Eric Dumazet When sending an ack in SYN_RECV state, we must scale the offered window if wscale option was negotiated and accepted. Tested: Following packetdrill test demonstrates the issue : 0.000 socket(..., SOCK_STREAM, IPPROTO_TCP) = 3 +0 setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], 4