aboutsummaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorGravatar Yuchung Cheng <ycheng@google.com> 2019-01-16 15:05:28 -0800
committerGravatar David S. Miller <davem@davemloft.net> 2019-01-17 15:12:26 -0800
commit88f8598d0a302a08380eadefd09b9f5cb1c4c428 (patch)
treef31cbddb0cc70e708a7c6e27107410fd47685a49 /net/ipv4/tcp_output.c
parentnet: phy: micrel: use phy_read_mmd and phy_write_mmd (diff)
downloadlinux-88f8598d0a302a08380eadefd09b9f5cb1c4c428.tar.gz
linux-88f8598d0a302a08380eadefd09b9f5cb1c4c428.tar.bz2
linux-88f8598d0a302a08380eadefd09b9f5cb1c4c428.zip
tcp: exit if nothing to retransmit on RTO timeout
Previously TCP only warns if its RTO timer fires and the retransmission queue is empty, but it'll cause null pointer reference later on. It's better to avoid such catastrophic failure and simply exit with a warning. Signed-off-by: Yuchung Cheng <ycheng@google.com> Signed-off-by: Eric Dumazet <edumazet@google.com> Reviewed-by: Neal Cardwell <ncardwell@google.com> Reviewed-by: Soheil Hassas Yeganeh <soheil@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions