]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'tcp-improve-delivered-counts-in-SCM_TSTAMP_ACK'
authorDavid S. Miller <davem@davemloft.net>
Sun, 28 Jun 2020 00:41:27 +0000 (17:41 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 28 Jun 2020 00:41:27 +0000 (17:41 -0700)
commitd5895f8f3a27b7cc6f2210ed06771dac6b9862bd
tree16c54d9e84a2926282290deabc3995c67a32202b
parent60b2959cfc7e3f9b226115f14622c10c0931e4a5
parentbfc8b93c00ebc7127244c8784bca68855da76dd6
Merge branch 'tcp-improve-delivered-counts-in-SCM_TSTAMP_ACK'

Yousuk Seung says:

====================
tcp: improve delivered counts in SCM_TSTAMP_ACK

Currently delivered and delivered_ce in OPT_STATS of SCM_TSTAMP_ACK do
not fully reflect the current ack being timestamped. Also they are not
in sync as the delivered count includes packets being sacked and some of
cumulatively acked but delivered_ce includes none.

This patch series updates tp->delivered and tp->delivered_ce together to
keep them in sync. It also moves generating SCM_TSTAMP_ACK to later in
tcp_clean_rtx_queue() to reflect packets being cumulatively acked up
until the current skb for sack-enabled connections.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>