Re: [PATCH net] tcp: fastopen: avoid negative sk_forward_alloc

2016-09-08 Thread David Miller
From: Eric Dumazet Date: Wed, 07 Sep 2016 08:34:11 -0700 > From: Eric Dumazet > > When DATA and/or FIN are carried in a SYN/ACK message or SYN message, > we append an skb in socket receive queue, but we forget to call > sk_forced_mem_schedule(). > > Effect is that the socket has a negative sk-

Re: [PATCH net] tcp: fastopen: avoid negative sk_forward_alloc

2016-09-07 Thread Josh Hunt
On 09/07/2016 10:34 AM, Eric Dumazet wrote: From: Eric Dumazet When DATA and/or FIN are carried in a SYN/ACK message or SYN message, we append an skb in socket receive queue, but we forget to call sk_forced_mem_schedule(). Effect is that the socket has a negative sk->sk_forward_alloc as long a

[PATCH net] tcp: fastopen: avoid negative sk_forward_alloc

2016-09-07 Thread Eric Dumazet
From: Eric Dumazet When DATA and/or FIN are carried in a SYN/ACK message or SYN message, we append an skb in socket receive queue, but we forget to call sk_forced_mem_schedule(). Effect is that the socket has a negative sk->sk_forward_alloc as long as the message is not read by the application.