]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: count sacked packets in tcp_sacktag_state
authorYousuk Seung <ysseung@google.com>
Sat, 27 Jun 2020 04:05:34 +0000 (21:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 28 Jun 2020 00:41:27 +0000 (17:41 -0700)
commitfcde26f650eebcafca74c036f6c88a4045623f38
treec72817d500875c8d9d0dd316f0e552615e7bae0e
parent4f63130f25870b04351035d61ce211ac0c85c29c
tcp: count sacked packets in tcp_sacktag_state

Add sack_delivered to tcp_sacktag_state and count the number of sacked
and dsacked packets. This is pure refactor for future patches to improve
tracking delivered counts.

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>
net/ipv4/tcp_input.c