]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
tcp: add in_flight to tcp_skb_cb
authorLawrence Brakmo <brakmo@fb.com>
Thu, 9 Jun 2016 04:16:44 +0000 (21:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Jun 2016 06:07:49 +0000 (23:07 -0700)
commit6f094b9ec680209c5b7314feee983b2f4c910b1b
treee695d80ba28c1788606007c9734da7ed0335ffd7
parent3e7fb80b604b5bc7116fe374f604eb7c85f00b43
tcp: add in_flight to tcp_skb_cb

Add in_flight (bytes in flight when packet was sent) field
to tx component of tcp_skb_cb and make it available to
congestion modules' pkts_acked() function through the
ack_sample function argument.

Signed-off-by: Lawrence Brakmo <brakmo@fb.com>
Acked-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
net/ipv4/tcp_input.c
net/ipv4/tcp_output.c