summaryrefslogtreecommitdiffstats
path: root/mm/nommu.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2016-09-07 17:34:11 +0200
committerDavid S. Miller <davem@davemloft.net>2016-09-09 01:08:10 +0200
commit76061f631c2ea4ab9c4d66f3a96ecc5737f5aaf7 (patch)
treeb60c15dd39cb9e40f06d49dafa65402380ae5693 /mm/nommu.c
parentMerge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse... (diff)
downloadlinux-76061f631c2ea4ab9c4d66f3a96ecc5737f5aaf7.tar.xz
linux-76061f631c2ea4ab9c4d66f3a96ecc5737f5aaf7.zip
tcp: fastopen: avoid negative sk_forward_alloc
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 <edumazet@google.com> Reviewed-by: Josh Hunt <johunt@akamai.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/nommu.c')
0 files changed, 0 insertions, 0 deletions