commit | d22e1537181188e5dc8cbc51451832625035bdc2 | [log] [tgz] |
---|---|---|
author | Josh Hunt <johunt@akamai.com> | Thu Mar 19 19:19:30 2015 -0400 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 20 13:18:52 2015 -0400 |
tree | b207b5f9b1562e4f1c6f5a97cb09cabb88ca9fea | |
parent | 73ba57bfae4a1914f6a6dac71e3168dd900e00af [diff] |
tcp: fix tcp fin memory accounting 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>