提交 c65c5131 编写于 作者: A Al Viro 提交者: Linus Torvalds

missed cong_avoid() instance

	Removal of rtt argument in ->cong_avoid() had missed tcp_htcp.c
instance.
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 721e2629
...@@ -225,7 +225,7 @@ static u32 htcp_recalc_ssthresh(struct sock *sk) ...@@ -225,7 +225,7 @@ static u32 htcp_recalc_ssthresh(struct sock *sk)
return max((tp->snd_cwnd * ca->beta) >> 7, 2U); return max((tp->snd_cwnd * ca->beta) >> 7, 2U);
} }
static void htcp_cong_avoid(struct sock *sk, u32 ack, s32 rtt, static void htcp_cong_avoid(struct sock *sk, u32 ack,
u32 in_flight, int data_acked) u32 in_flight, int data_acked)
{ {
struct tcp_sock *tp = tcp_sk(sk); struct tcp_sock *tp = tcp_sk(sk);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册