diff options
author | Eric Dumazet <edumazet@google.com> | 2019-12-03 17:05:52 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-12-03 20:52:38 +0100 |
commit | 0d580fbd2db084a5c96ee9c00492236a279d5e0f (patch) | |
tree | 5cc51447d1d51d8b87151c5706cf819314b7c410 /net/ipv4/tcp_bpf.c | |
parent | net: mscc: ocelot: unregister the PTP clock on deinit (diff) | |
download | linux-0d580fbd2db084a5c96ee9c00492236a279d5e0f.tar.xz linux-0d580fbd2db084a5c96ee9c00492236a279d5e0f.zip |
tcp: refactor tcp_retransmit_timer()
It appears linux-4.14 stable needs a backport of commit
88f8598d0a30 ("tcp: exit if nothing to retransmit on RTO timeout")
Since tcp_rtx_queue_empty() is not in pre 4.15 kernels,
let's refactor tcp_retransmit_timer() to only use tcp_rtx_queue_head()
I will provide to stable teams the squashed patches.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Willem de Bruijn <willemb@google.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_bpf.c')
0 files changed, 0 insertions, 0 deletions