* [PATCH] TCP: Fix setting of snd_ssthresh in tcp_mtu_probe_success
@ 2010-10-07 3:41 John Heffner
2010-10-07 4:18 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: John Heffner @ 2010-10-07 3:41 UTC (permalink / raw)
To: davem; +Cc: netdev
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>
---
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 f6fdd72..e4fbdae 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;
--
1.7.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] TCP: Fix setting of snd_ssthresh in tcp_mtu_probe_success
2010-10-07 3:41 [PATCH] TCP: Fix setting of snd_ssthresh in tcp_mtu_probe_success John Heffner
@ 2010-10-07 4:18 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2010-10-07 4:18 UTC (permalink / raw)
To: johnwheffner; +Cc: netdev
From: John Heffner <johnwheffner@gmail.com>
Date: Wed, 6 Oct 2010 23:41:53 -0400
> 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>
Amazing how long something like this can survive :-)
Applied, thanks John.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-10-07 4:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-07 3:41 [PATCH] TCP: Fix setting of snd_ssthresh in tcp_mtu_probe_success John Heffner
2010-10-07 4:18 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).