aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_probe.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-07-14 21:57:19 -0400
committerDavid S. Miller <davem@davemloft.net>2007-07-14 21:57:19 -0400
commitb3b0b681b12478a7afa7d1f3d58be96830e16c7d (patch)
tree3e3dc5d37d88bdc53c9cdc27fa0cb655195129f8 /net/ipv4/tcp_probe.c
parenta7ecfc866578e665e20004a2f5fff5b73e8be3bc (diff)
[TCP]: tcp probe add back ssthresh field
Sangtae noticed the ssthresh got missed. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_probe.c')
-rw-r--r--net/ipv4/tcp_probe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/tcp_probe.c b/net/ipv4/tcp_probe.c
index 86624fabc4bf..f37d5928921a 100644
--- a/net/ipv4/tcp_probe.c
+++ b/net/ipv4/tcp_probe.c
@@ -111,6 +111,7 @@ static int jtcp_rcv_established(struct sock *sk, struct sk_buff *skb,
111 p->snd_una = tp->snd_una; 111 p->snd_una = tp->snd_una;
112 p->snd_cwnd = tp->snd_cwnd; 112 p->snd_cwnd = tp->snd_cwnd;
113 p->snd_wnd = tp->snd_wnd; 113 p->snd_wnd = tp->snd_wnd;
114 p->ssthresh = tcp_current_ssthresh(sk);
114 p->srtt = tp->srtt >> 3; 115 p->srtt = tp->srtt >> 3;
115 116
116 tcp_probe.head = (tcp_probe.head + 1) % bufsize; 117 tcp_probe.head = (tcp_probe.head + 1) % bufsize;