]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbefe489d0274b81c5db0c5bf2a58e0752c675f6a
tree9329409e197d2912d3fba7e247a57239996c99e9
parente68d9dbf8fbb2a3af46e27f16bdb7d8d8df552fd
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