diff options
author | Yuchung Cheng <ycheng@google.com> | 2017-01-12 22:11:31 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-13 22:37:16 -0500 |
commit | e636f8b0104d6622aaaed6aa5ef17dfbf165bc51 (patch) | |
tree | df39c0f942ddcab2869d408414f562ae208ddea9 /include/net/tcp.h | |
parent | db8da6bb574e1692cb86624317c572b0b9306560 (diff) | |
download | op-kernel-dev-e636f8b0104d6622aaaed6aa5ef17dfbf165bc51.zip op-kernel-dev-e636f8b0104d6622aaaed6aa5ef17dfbf165bc51.tar.gz |
tcp: new helper for RACK to detect loss
Create a new helper tcp_rack_detect_loss to prepare the upcoming
RACK reordering timer patch.
Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r-- | include/net/tcp.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index 1da0aa7..51183bb 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h @@ -1863,8 +1863,7 @@ extern int sysctl_tcp_recovery; /* Use TCP RACK to detect (some) tail and retransmit losses */ #define TCP_RACK_LOST_RETRANS 0x1 -extern int tcp_rack_mark_lost(struct sock *sk); - +extern void tcp_rack_mark_lost(struct sock *sk); extern void tcp_rack_advance(struct tcp_sock *tp, const struct skb_mstamp *xmit_time, u8 sacked); |