[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>

authored by Julian Anastasov and committed by David S. Miller f5e229db 1c011bed

+1 -1
+1 -1
net/ipv4/ipvs/ip_vs_conn.c
··· 467 467 /* 468 468 * Invalidate the connection template 469 469 */ 470 - if (ct->cport) { 470 + if (ct->vport != 65535) { 471 471 if (ip_vs_conn_unhash(ct)) { 472 472 ct->dport = 65535; 473 473 ct->vport = 65535;