diff options
author | Patrick McHardy <kaber@trash.net> | 2006-09-20 21:11:12 +0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-23 00:20:19 +0200 |
commit | fd5e3befa405ea64d4db6b393b821644bf963c57 (patch) | |
tree | 8e8519eb437b20a457c0c8897269216c1fa5622a /net | |
parent | [NETFILTER]: PPTP conntrack: fix PPTP_IN_CALL message types (diff) | |
download | linux-fd5e3befa405ea64d4db6b393b821644bf963c57.tar.xz linux-fd5e3befa405ea64d4db6b393b821644bf963c57.zip |
[NETFILTER]: PPTP conntrack: fix GRE keymap leak
When destroying the GRE expectations without having seen the GRE connection
the keymap entry is not freed, leading to a memory leak and, in case of
a following call within the same session, failure during expectation setup.
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_helper_pptp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/netfilter/ip_conntrack_helper_pptp.c b/net/ipv4/netfilter/ip_conntrack_helper_pptp.c index b0225b65ca35..98267b0d2a47 100644 --- a/net/ipv4/netfilter/ip_conntrack_helper_pptp.c +++ b/net/ipv4/netfilter/ip_conntrack_helper_pptp.c @@ -194,6 +194,7 @@ static void pptp_destroy_siblings(struct ip_conntrack *ct) { struct ip_conntrack_tuple t; + ip_ct_gre_keymap_destroy(ct); /* Since ct->sibling_list has literally rusted away in 2.6.11, * we now need another way to find out about our sibling * contrack and expects... -HW */ |