Josh Hunt d22e153718 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>
2015-03-20 13:18:52 -04:00
..
2015-03-13 15:55:41 +10:30
2014-11-24 04:28:48 -05:00
2014-12-09 16:29:03 -05:00
2014-11-24 04:28:48 -05:00
2015-02-23 15:28:50 -05:00
2015-03-20 13:18:52 -04:00
2015-03-08 12:25:40 -07:00
2014-11-24 04:28:48 -05:00
2014-11-24 04:28:48 -05:00
2015-02-04 09:15:18 +01:00
2015-03-12 00:28:01 -04:00
2014-11-24 04:28:48 -05:00
2015-03-08 12:53:46 -07:00
2015-01-28 23:15:07 -08:00
2014-11-24 04:28:48 -05:00