diff options
author | John Heffner <johnwheffner@gmail.com> | 2010-10-07 00:18:02 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-07 00:18:02 -0400 |
commit | 9c6d5e5537e3997c47b65925a235392c1968fb51 (patch) | |
tree | 130ed7bf5c658612bb9b34dfb05d518212c61473 /net/ipv4/tcp_input.c | |
parent | 69259abb64d4da77273bf59accfc9fa79e7165f4 (diff) |
TCP: Fix setting of snd_ssthresh in tcp_mtu_probe_success
This looks like a simple typo that has gone unnoticed for some time. The
impact is relatively low but it's clearly wrong.
Signed-off-by: John Heffner <johnwheffner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_input.c')
-rw-r--r-- | net/ipv4/tcp_input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index f6fdd727a23d..e4fbdae066d5 100644 --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c | |||
@@ -2874,7 +2874,7 @@ static void tcp_mtup_probe_success(struct sock *sk) | |||
2874 | icsk->icsk_mtup.probe_size; | 2874 | icsk->icsk_mtup.probe_size; |
2875 | tp->snd_cwnd_cnt = 0; | 2875 | tp->snd_cwnd_cnt = 0; |
2876 | tp->snd_cwnd_stamp = tcp_time_stamp; | 2876 | tp->snd_cwnd_stamp = tcp_time_stamp; |
2877 | tp->rcv_ssthresh = tcp_current_ssthresh(sk); | 2877 | tp->snd_ssthresh = tcp_current_ssthresh(sk); |
2878 | 2878 | ||
2879 | icsk->icsk_mtup.search_low = icsk->icsk_mtup.probe_size; | 2879 | icsk->icsk_mtup.search_low = icsk->icsk_mtup.probe_size; |
2880 | icsk->icsk_mtup.probe_size = 0; | 2880 | icsk->icsk_mtup.probe_size = 0; |