summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_probe.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-07-15 03:57:19 +0200
committerDavid S. Miller <davem@davemloft.net>2007-07-15 03:57:19 +0200
commitb3b0b681b12478a7afa7d1f3d58be96830e16c7d (patch)
tree3e3dc5d37d88bdc53c9cdc27fa0cb655195129f8 /net/ipv4/tcp_probe.c
parent[VLAN]: Fix memset length (diff)
downloadlinux-b3b0b681b12478a7afa7d1f3d58be96830e16c7d.tar.xz
linux-b3b0b681b12478a7afa7d1f3d58be96830e16c7d.zip
[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,
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;