Thread (3 messages) 3 messages, 3 authors, 2016-09-08

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

flat view

From: David Miller <davem@davemloft.net>
Date: 2016-09-08 23:08:32

From: Eric Dumazet <redacted>
Date: Wed, 07 Sep 2016 08:34:11 -0700
From: Eric Dumazet <redacted>

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.

Josh Hunt fixed a similar issue in commit d22e15371811 ("tcp: fix tcp
fin memory accounting")
 
Fixes: 168a8f58059a ("tcp: TCP Fast Open Server - main code path")
Signed-off-by: Eric Dumazet <redacted>
Applied and queued up for -stable.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help