tree 018066c05be0924990ed9a79ccef0ab553f6b710
parent 14a50bbaa51202b676a95e9b41bc5ed6c77aa9cc
author Pablo Neira Ayuso <[EMAIL PROTECTED]> Wed, 10 Aug 2005 10:06:11 -0700
committer David S. Miller <[EMAIL PROTECTED]> Tue, 30 Aug 2005 05:40:17 -0700

[NETFILTER]: fix conntrack refcount leak in unlink_expect()

In unlink_expect(), the expectation is removed from the list so the
refcount must be dropped as well.

Signed-off-by: Pablo Neira Ayuso <[EMAIL PROTECTED]>
Signed-off-by: Harald Welte <[EMAIL PROTECTED]>
Signed-off-by: David S. Miller <[EMAIL PROTECTED]>

 net/ipv4/netfilter/ip_conntrack_core.c |    1 +
 1 files changed, 1 insertion(+)

diff --git a/net/ipv4/netfilter/ip_conntrack_core.c 
--- a/net/ipv4/netfilter/ip_conntrack_core.c
+++ b/net/ipv4/netfilter/ip_conntrack_core.c
@@ -204,6 +204,7 @@ static void unlink_expect(struct ip_conn
+       ip_conntrack_expect_put(exp);
 void __ip_ct_expect_unlink_destroy(struct ip_conntrack_expect *exp)
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to