mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-20 19:23:40 +00:00
netfilter: conntrack: call nf_ct_gre_keymap_destroy() if master helper is pptp
[ Upstream commitb0f02608fb] For GRE flows, validate that the ct master helper (if any) is pptp before calling nf_ct_gre_keymap_destroy(), so the helper data area can be accessed safely. Note that only the pptp helper provides a .destroy callback. Fixes:e56894356f("netfilter: conntrack: remove l4proto destroy hook") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
5ef34156d6
commit
ad38166cb1
1 changed files with 16 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue