mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 02:50:43 +00:00
[IPVS]: Really invalidate persistent templates
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>
This commit is contained in:
parent
1c011bed5f
commit
f5e229db9c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue