projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8980806
)
[TCP]: Complete icsk-to-local-variable change (in tcp_enter_cwr)
author
Ilpo Järvinen
<ilpo.jarvinen@helsinki.fi>
Fri, 2 Mar 2007 21:27:25 +0000
(13:27 -0800)
committer
David S. Miller
<davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:23:25 +0000
(22:23 -0700)
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>
net/ipv4/tcp_input.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/tcp_input.c
b/net/ipv4/tcp_input.c
index 322e43c56461a950c14ee369d6ccf2842e015157..cb715eadf8f59bb48b689608c6519d180744dd10 100644
(file)
--- 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)
tp->prior_ssthresh = 0;
tp->bytes_acked = 0;
- if (i
net_csk(sk)
->icsk_ca_state < TCP_CA_CWR) {
+ if (i
csk
->icsk_ca_state < TCP_CA_CWR) {
tp->undo_marker = 0;
if (set_ssthresh)
tp->snd_ssthresh = icsk->icsk_ca_ops->ssthresh(sk);