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

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

[IP_VS]: Remove extra __ip_vs_conn_put() for incoming ICMP.



Remove extra __ip_vs_conn_put for incoming ICMP in direct routing
mode. Mark de Vries reports that IPVS connections are not leaked anymore.

Signed-off-by: default avatarJulian Anastasov <ja@ssi.bg>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f81a0bff
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -508,7 +508,6 @@ ip_vs_icmp_xmit(struct sk_buff *skb, struct ip_vs_conn *cp,
			rc = NF_ACCEPT;
		/* do not touch skb anymore */
		atomic_inc(&cp->in_pkts);
		__ip_vs_conn_put(cp);
		goto out;
	}