summaryrefslogtreecommitdiffstats
path: root/net/ipv4/ipvs
diff options
context:
space:
mode:
authorJulian Anastasov <ja@ssi.bg>2005-05-19 12:29:59 -0700
committerDavid S. Miller <davem@davemloft.net>2005-05-19 12:29:59 -0700
commitd9fa0f392b20b2b8e3df379c44194492a2446c6e (patch)
tree497580f07eeecfabd15b0a55601b7b6890372596 /net/ipv4/ipvs
parentf81a0bffa116ea22149aa7cfb0b4ee09096d9d92 (diff)
downloadop-kernel-dev-d9fa0f392b20b2b8e3df379c44194492a2446c6e.zip
op-kernel-dev-d9fa0f392b20b2b8e3df379c44194492a2446c6e.tar.gz
[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: Julian Anastasov <ja@ssi.bg> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ipvs')
-rw-r--r--net/ipv4/ipvs/ip_vs_xmit.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv4/ipvs/ip_vs_xmit.c b/net/ipv4/ipvs/ip_vs_xmit.c
index faa6176..de21da0 100644
--- a/net/ipv4/ipvs/ip_vs_xmit.c
+++ b/net/ipv4/ipvs/ip_vs_xmit.c
@@ -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;
}
OpenPOWER on IntegriCloud