]> err.no Git - linux-2.6/commitdiff
[TCP]: tcp probe add back ssthresh field
authorStephen Hemminger <shemminger@linux-foundation.org>
Sun, 15 Jul 2007 01:57:19 +0000 (18:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 15 Jul 2007 01:57:19 +0000 (18:57 -0700)
Sangtae noticed the ssthresh got missed.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_probe.c

index 86624fabc4bf416c501c3ea1f10124b93c0be295..f37d5928921ad3f156465836f275c38595b9dfbb 100644 (file)
@@ -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;