Jelajahi Sumber

[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>
Stephen Hemminger 18 tahun lalu
induk
melakukan
b3b0b681b1
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      net/ipv4/tcp_probe.c

+ 1 - 0
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_una = tp->snd_una;
 			p->snd_cwnd = tp->snd_cwnd;
 			p->snd_cwnd = tp->snd_cwnd;
 			p->snd_wnd = tp->snd_wnd;
 			p->snd_wnd = tp->snd_wnd;
+			p->ssthresh = tcp_current_ssthresh(sk);
 			p->srtt = tp->srtt >> 3;
 			p->srtt = tp->srtt >> 3;
 
 
 			tcp_probe.head = (tcp_probe.head + 1) % bufsize;
 			tcp_probe.head = (tcp_probe.head + 1) % bufsize;