mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
tcp: reduce tcp_fastretrans_alert() verbosity
commit 8ba6ddaaf8
upstream.
With upcoming rb-tree implementation, the checks will trigger
more often, and this is expected.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Cc: Amit Shah <amit@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a74d0e937a
commit
b2ea53195d
1 changed files with 2 additions and 2 deletions
|
@ -2810,9 +2810,9 @@ static void tcp_fastretrans_alert(struct sock *sk, const int acked,
|
|||
bool do_lost = is_dupack || ((flag & FLAG_DATA_SACKED) &&
|
||||
(tcp_fackets_out(tp) > tp->reordering));
|
||||
|
||||
if (WARN_ON(!tp->packets_out && tp->sacked_out))
|
||||
if (!tp->packets_out && tp->sacked_out)
|
||||
tp->sacked_out = 0;
|
||||
if (WARN_ON(!tp->sacked_out && tp->fackets_out))
|
||||
if (!tp->sacked_out && tp->fackets_out)
|
||||
tp->fackets_out = 0;
|
||||
|
||||
/* Now state machine starts.
|
||||
|
|
Loading…
Reference in a new issue