summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-07-14 18:57:19 -0700
committerDavid S. Miller <davem@davemloft.net>2007-07-14 18:57:19 -0700
commitb3b0b681b12478a7afa7d1f3d58be96830e16c7d (patch)
tree3e3dc5d37d88bdc53c9cdc27fa0cb655195129f8 /net
parenta7ecfc866578e665e20004a2f5fff5b73e8be3bc (diff)
downloadlinux-b3b0b681b12478a7afa7d1f3d58be96830e16c7d.tar.bz2
[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')
-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,
p->snd_una = tp->snd_una;
p->snd_cwnd = tp->snd_cwnd;
p->snd_wnd = tp->snd_wnd;
+ p->ssthresh = tcp_current_ssthresh(sk);
p->srtt = tp->srtt >> 3;
tcp_probe.head = (tcp_probe.head + 1) % bufsize;