Files
linux/net
Yuchung Cheng cb13af1693 tcp: fix NULL ref in tail loss probe
[ Upstream commit b2b7af8611 ]

TCP loss probe timer may fire when the retranmission queue is empty but
has a non-zero tp->packets_out counter. tcp_send_loss_probe will call
tcp_rearm_rto which triggers NULL pointer reference by fetching the
retranmission queue head in its sub-routines.

Add a more detailed warning to help catch the root cause of the inflight
accounting inconsistency.

Reported-by: Rafael Tinoco <rafael.tinoco@linaro.org>
Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-15 10:30:55 +09:00
..
2015-03-02 16:43:41 -05:00
2018-05-16 10:08:44 +02:00
2018-04-13 19:48:29 +02:00
2023-05-15 10:30:55 +09:00
2016-05-29 22:33:25 -07:00
2023-05-15 09:57:35 +09:00
2016-10-20 11:23:08 -04:00
2018-05-16 11:39:34 +02:00
2016-08-17 19:36:23 -04:00
2023-05-15 09:14:58 +09:00