summaryrefslogtreecommitdiff
path: root/net/compat.c
diff options
context:
space:
mode:
authorJosh Hunt <johunt@akamai.com>2015-03-19 19:19:30 -0400
committerLuis Henriques <luis.henriques@canonical.com>2015-03-24 10:35:16 +0000
commit421960be09946f1de9579067e238fb4d7708c619 (patch)
tree1b71ad3e1abc40273cb8b79081892911bc942d96 /net/compat.c
parent0b925a5158da7e8ce059839f225b28b7b2209024 (diff)
tcp: fix tcp fin memory accounting
commit d22e1537181188e5dc8cbc51451832625035bdc2 upstream. tcp_send_fin() does not account for the memory it allocates properly, so sk_forward_alloc can be negative in cases where we've sent a FIN: ss example output (ss -amn | grep -B1 f4294): tcp FIN-WAIT-1 0 1 192.168.0.1:45520 192.0.2.1:8080 skmem:(r0,rb87380,t0,tb87380,f4294966016,w1280,o0,bl0) Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'net/compat.c')
0 files changed, 0 insertions, 0 deletions