]> Git Repo - linux.git/commitdiff
[TCP]: tcp probe add back ssthresh field
authorStephen Hemminger <[email protected]>
Sun, 15 Jul 2007 01:57:19 +0000 (18:57 -0700)
committerDavid S. Miller <[email protected]>
Sun, 15 Jul 2007 01:57:19 +0000 (18:57 -0700)
Sangtae noticed the ssthresh got missed.

Signed-off-by: Stephen Hemminger <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
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;
This page took 0.058905 seconds and 4 git commands to generate.