aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2004-12-07 21:37:53 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-12-07 21:37:53 -0800
commita3a151ddce00e3c42936730261d2f7cac603a87d (patch)
tree1b20fdbb93bb08e853a77e4f65f898dee3be2cc8 /net
parentcfd024d7691544c8b666a7b6aa1e44215775de6b (diff)
downloadhistory-a3a151ddce00e3c42936730261d2f7cac603a87d.tar.gz
[NETFILTER]: Fix memory leak in ip_conntrack_ftp
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/ipv4/netfilter/ip_conntrack_ftp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/netfilter/ip_conntrack_ftp.c b/net/ipv4/netfilter/ip_conntrack_ftp.c
index 8038cadeaa94ff..2d6ffa49799744 100644
--- a/net/ipv4/netfilter/ip_conntrack_ftp.c
+++ b/net/ipv4/netfilter/ip_conntrack_ftp.c
@@ -381,6 +381,7 @@ static int help(struct sk_buff *skb,
problem (DMZ machines opening holes to internal
networks, or the packet filter itself). */
if (!loose) {
+ ip_conntrack_expect_put(exp);
ret = NF_ACCEPT;
goto out;
}