summaryrefslogtreecommitdiffstats
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
parenta7ecfc866578e665e20004a2f5fff5b73e8be3bc (diff)
downloadop-kernel-dev-b3b0b681b12478a7afa7d1f3d58be96830e16c7d.zip
op-kernel-dev-b3b0b681b12478a7afa7d1f3d58be96830e16c7d.tar.gz
[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>
-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 86624fa..f37d592 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;
OpenPOWER on IntegriCloud