projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c011be
)
[IPVS]: Really invalidate persistent templates
author
Julian Anastasov
<ja@ssi.bg>
Thu, 15 Sep 2005 04:04:23 +0000
(21:04 -0700)
committer
David S. Miller
<davem@davemloft.net>
Thu, 15 Sep 2005 04:04:23 +0000
(21:04 -0700)
Agostino di Salle noticed that persistent templates are not
invalidated due to buggy optimization.
Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ipvs/ip_vs_conn.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/ipvs/ip_vs_conn.c
b/net/ipv4/ipvs/ip_vs_conn.c
index e11952ea17afd89cfba231fee4e27754fbd9c849..5994521fddc52115d7d0b8af2dd0381f05f620b7 100644
(file)
--- a/
net/ipv4/ipvs/ip_vs_conn.c
+++ b/
net/ipv4/ipvs/ip_vs_conn.c
@@
-467,7
+467,7
@@
int ip_vs_check_template(struct ip_vs_conn *ct)
/*
* Invalidate the connection template
*/
- if (ct->
cport
) {
+ if (ct->
vport != 65535
) {
if (ip_vs_conn_unhash(ct)) {
ct->dport = 65535;
ct->vport = 65535;