]> git.baikalelectronics.ru Git - 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)
commit8bd1a38c0cdf1a6a8db434fb224c1eb1d4447cfe
treee695d80ba28c1788606007c9734da7ed0335ffd7
parent2cf5b471972e29b5cb3aea459a49dd5ca2c81232
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