diff options
| author | John Heffner <[email protected]> | 2010-10-07 04:18:02 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2010-10-07 04:18:02 +0000 |
| commit | 9c6d5e5537e3997c47b65925a235392c1968fb51 (patch) | |
| tree | 130ed7bf5c658612bb9b34dfb05d518212c61473 /net/ipv4/tcp_input.c | |
| parent | Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne... (diff) | |
| download | kernel-9c6d5e5537e3997c47b65925a235392c1968fb51.tar.gz kernel-9c6d5e5537e3997c47b65925a235392c1968fb51.zip | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
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) icsk->icsk_mtup.probe_size; tp->snd_cwnd_cnt = 0; tp->snd_cwnd_stamp = tcp_time_stamp; - tp->rcv_ssthresh = tcp_current_ssthresh(sk); + tp->snd_ssthresh = tcp_current_ssthresh(sk); icsk->icsk_mtup.search_low = icsk->icsk_mtup.probe_size; icsk->icsk_mtup.probe_size = 0; |
