Eric Dumazet
ffb4d6c850
tcp: fix overflow in __tcp_retransmit_skb()
...
If a TCP socket gets a large write queue, an overflow can happen
in a test in __tcp_retransmit_skb() preventing all retransmits.
The flow then stalls and resets after timeouts.
Tested:
sysctl -w net.core.wmem_max=1000000000
netperf -H dest -- -s 1000000000
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-09-17 09:59:30 -04:00
..
2016-07-08 13:23:12 +02:00
2016-08-09 13:42:36 +03:00
2016-08-13 15:15:54 -07:00
2016-07-05 09:06:28 -07:00
2016-06-18 20:55:34 -07:00
2016-08-26 15:22:31 +02:00
2016-08-25 20:58:47 +02:00
2016-09-01 16:35:30 -07:00
2016-06-28 05:26:14 -04:00
2016-06-23 11:23:49 +02:00
2016-08-08 21:41:42 +02:00
2016-09-04 11:41:12 -07:00
2016-07-29 17:38:46 -07:00
2016-07-05 14:08:47 -07:00
2016-07-19 19:42:01 -07:00
2016-07-08 13:23:12 +02:00
2016-09-17 09:59:30 -04:00
2016-09-13 11:17:24 -04:00
2016-08-13 15:09:07 -07:00
2016-07-29 17:38:46 -07:00
2016-08-31 21:00:19 -07:00
2016-09-02 11:44:44 -07:00
2016-06-17 21:25:29 -07:00
2016-09-12 12:27:14 +02:00
2016-07-09 17:45:56 -04:00
2016-07-25 10:32:59 -07:00
2016-09-13 10:50:56 +02:00
2016-06-27 15:06:18 -04:00
2016-06-09 22:26:24 -07:00
2016-07-11 02:02:03 +02:00
2016-08-10 23:13:23 -07:00
2016-07-24 00:53:32 -04:00
2016-07-15 11:36:58 -07:00
2016-07-13 11:53:40 -07:00
2016-08-09 17:13:56 +01:00
2016-08-25 16:44:20 -07:00
2016-09-13 11:44:58 -04:00
2016-08-24 22:32:55 -04:00
2016-07-14 13:34:29 -07:00
2016-09-01 10:12:26 -07:00
2016-09-04 13:29:29 -07:00
2016-08-15 05:05:21 +03:00
2016-09-13 20:19:27 +02:00
2016-08-11 13:15:57 +02:00
2016-06-09 23:41:03 -07:00
2016-07-19 20:49:16 -07:00
2016-07-19 20:49:16 -07:00
2016-06-06 20:16:22 +10:00