Commit a3a151dd authored by Patrick McHardy's avatar Patrick McHardy Committed by Linus Torvalds

[NETFILTER]: Fix memory leak in ip_conntrack_ftp

Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cfd024d7
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment