tcp: replace cnt & rtt with struct in pkts_acked()
authorLawrence Brakmo <brakmo@fb.com>
Wed, 11 May 2016 17:02:13 +0000 (10:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 May 2016 18:43:19 +0000 (14:43 -0400)
commit756ee1729b2feb3a45767da29e338f70f2086ba3
tree9329409e197d2912d3fba7e247a57239996c99e9
parentcf88585b1d5ce49515aabb381812976e2840a967
tcp: replace cnt & rtt with struct in pkts_acked()

Replace 2 arguments (cnt and rtt) in the congestion control modules'
pkts_acked() function with a struct. This will allow adding more
information without having to modify existing congestion control
modules (tcp_nv in particular needs bytes in flight when packet
was sent).

As proposed by Neal Cardwell in his comments to the tcp_nv patch.

Signed-off-by: Lawrence Brakmo <brakmo@fb.com>
Acked-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
13 files changed:
include/net/tcp.h
net/ipv4/tcp_bic.c
net/ipv4/tcp_cdg.c
net/ipv4/tcp_cubic.c
net/ipv4/tcp_htcp.c
net/ipv4/tcp_illinois.c
net/ipv4/tcp_input.c
net/ipv4/tcp_lp.c
net/ipv4/tcp_vegas.c
net/ipv4/tcp_vegas.h
net/ipv4/tcp_veno.c
net/ipv4/tcp_westwood.c
net/ipv4/tcp_yeah.c