]> 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)
commitaa1903c94cc01df2db967df7c4052d5f7f5d2dc9
treec72817d500875c8d9d0dd316f0e552615e7bae0e
parente083f73f88119a921a72e8c03db44f51b2c3f77c
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