diff options
author | 2020-06-26 21:05:32 -0700 | |
---|---|---|
committer | 2020-06-27 17:41:27 -0700 | |
commit | fdb7eb21ddd3cc07b8120b6f5cc0b279a0ed198e (patch) | |
tree | c06e2f363f21c700db7d5c33f5580be95af44c46 /drivers/net/ethernet/intel/igc | |
parent | Merge branch 'net-atlantic-various-non-functional-changes' (diff) | |
download | wireguard-linux-fdb7eb21ddd3cc07b8120b6f5cc0b279a0ed198e.tar.xz wireguard-linux-fdb7eb21ddd3cc07b8120b6f5cc0b279a0ed198e.zip |
tcp: stamp SCM_TSTAMP_ACK later in tcp_clean_rtx_queue()
Currently tp->delivered is updated with sacked packets but not
cumulatively acked when SCP_TSTAMP_ACK is timestamped. This patch moves
a tcp_ack_tstamp() call in tcp_clean_rtx_queue() to later in the loop so
that when a skb is fully acked OPT_STATS of SCM_TSTAMP_ACK will include
the current skb in the delivered count. When not fully acked
tcp_ack_tstamp() is a no-op and there is no change in behavior.
Signed-off-by: Yousuk Seung <ysseung@google.com>
Signed-off-by: Yuchung Cheng <ycheng@google.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Acked-by: Neal Cardwell <ncardwell@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/igc')
0 files changed, 0 insertions, 0 deletions