aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/sock.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2016-09-15 08:12:33 -0700
committerDavid S. Miller <davem@davemloft.net>2016-09-17 09:59:30 -0400
commitffb4d6c8508657824bcef68a36b2a0f9d8c09d10 (patch)
tree63d82b7ef90a1d7346f6bc14737bf59334af998e /include/net/sock.h
parentxen-netback: fix error handling on netback_probe() (diff)
downloadlinux-dev-ffb4d6c8508657824bcef68a36b2a0f9d8c09d10.tar.xz
linux-dev-ffb4d6c8508657824bcef68a36b2a0f9d8c09d10.zip
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>
Diffstat (limited to 'include/net/sock.h')
0 files changed, 0 insertions, 0 deletions