aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/ipv4/xfrm4_policy.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2020-05-04 11:27:50 -0700
committerDavid S. Miller <davem@davemloft.net>2020-05-06 17:29:38 -0700
commit916e6d1a5ef17a6b3bffad0f086f173cde4240d8 (patch)
tree098d0ead6696790e52d5789abe5609dfbbfce83c /net/ipv4/xfrm4_policy.c
parenttcp: refine tcp_pacing_delay() for very low pacing rates (diff)
downloadwireguard-linux-916e6d1a5ef17a6b3bffad0f086f173cde4240d8.tar.xz
wireguard-linux-916e6d1a5ef17a6b3bffad0f086f173cde4240d8.zip
tcp: defer xmit timer reset in tcp_xmit_retransmit_queue()
As hinted in prior change ("tcp: refine tcp_pacing_delay() for very low pacing rates"), it is probably best arming the xmit timer only when all the packets have been scheduled, rather than when the head of rtx queue has been re-sent. This does matter for flows having extremely low pacing rates, since their tp->tcp_wstamp_ns could be far in the future. Note that the regular xmit path has a stronger limit in tcp_small_queue_check(), meaning it is less likely to go beyond the pacing horizon. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/xfrm4_policy.c')
0 files changed, 0 insertions, 0 deletions