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)
commitf00394ce6054e54319aefa51e4c495f9ebeb8669
treec72817d500875c8d9d0dd316f0e552615e7bae0e
parentc634e34f6ebfb75259e6ce467523fd3adf30d3d2
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