tcp: refactor pkts acked accounting
authorYuchung Cheng <ycheng@google.com>
Tue, 2 Feb 2016 18:33:07 +0000 (10:33 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 7 Feb 2016 19:09:51 +0000 (14:09 -0500)
commit3ebd88710584d494b670e54b2c339e3be290956c
treed22cdcfa806979d58e3f78e9b73ebe4df6c4da39
parentddf1af6fa00e772fdb67a7d22cb83fac2b8968a8
tcp: refactor pkts acked accounting

A small refactoring that gets number of packets cumulatively acked
from tcp_clean_rtx_queue() directly.

Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: Eric Dumazet <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c