[IP_VS]: Remove extra __ip_vs_conn_put() for incoming ICMP.
authorJulian Anastasov <ja@ssi.bg>
Thu, 19 May 2005 19:29:59 +0000 (12:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 May 2005 19:29:59 +0000 (12:29 -0700)
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: Julian Anastasov <ja@ssi.bg>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ipvs/ip_vs_xmit.c

index faa6176bbeb195eb37329964d092c377a2489890..de21da00057f3df6f84338244ab668d9f73bb90e 100644 (file)
@@ -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;
        }