Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f5e229db authored by Julian Anastasov's avatar Julian Anastasov Committed by David S. Miller
Browse files

[IPVS]: Really invalidate persistent templates



Agostino di Salle noticed that persistent templates are not
invalidated due to buggy optimization.

Signed-off-by: default avatarJulian Anastasov <ja@ssi.bg>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1c011bed
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;