mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 07:40:55 +07: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
@ -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 New Issue
Block a user