aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>2007-03-02 16:27:25 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 01:23:25 -0400
commite01f9d7793be82e6c252efbd52c399d3eb65abe4 (patch)
tree105614d2762c048d4e30e9456156101650664266 /net/ipv4
parent89808060b7a71376cc2ba8092d43b2010da465b6 (diff)
[TCP]: Complete icsk-to-local-variable change (in tcp_enter_cwr)
A local variable for icsk was created but this change was missing. Spotted by Jarek Poplawski. Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r--net/ipv4/tcp_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index 322e43c56461..cb715eadf8f5 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -770,7 +770,7 @@ void tcp_enter_cwr(struct sock *sk, const int set_ssthresh)
770 770
771 tp->prior_ssthresh = 0; 771 tp->prior_ssthresh = 0;
772 tp->bytes_acked = 0; 772 tp->bytes_acked = 0;
773 if (inet_csk(sk)->icsk_ca_state < TCP_CA_CWR) { 773 if (icsk->icsk_ca_state < TCP_CA_CWR) {
774 tp->undo_marker = 0; 774 tp->undo_marker = 0;
775 if (set_ssthresh) 775 if (set_ssthresh)
776 tp->snd_ssthresh = icsk->icsk_ca_ops->ssthresh(sk); 776 tp->snd_ssthresh = icsk->icsk_ca_ops->ssthresh(sk);