Commit b3b0b681 authored by Stephen Hemminger's avatar Stephen Hemminger Committed by David S. Miller

[TCP]: tcp probe add back ssthresh field

Sangtae noticed the ssthresh got missed.
Signed-off-by: default avatarStephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a7ecfc86
...@@ -111,6 +111,7 @@ static int jtcp_rcv_established(struct sock *sk, struct sk_buff *skb, ...@@ -111,6 +111,7 @@ static int jtcp_rcv_established(struct sock *sk, struct sk_buff *skb,
p->snd_una = tp->snd_una; p->snd_una = tp->snd_una;
p->snd_cwnd = tp->snd_cwnd; p->snd_cwnd = tp->snd_cwnd;
p->snd_wnd = tp->snd_wnd; p->snd_wnd = tp->snd_wnd;
p->ssthresh = tcp_current_ssthresh(sk);
p->srtt = tp->srtt >> 3; p->srtt = tp->srtt >> 3;
tcp_probe.head = (tcp_probe.head + 1) % bufsize; tcp_probe.head = (tcp_probe.head + 1) % bufsize;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment