mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-26 19:14:18 +00:00
netfilter: nf_tables: restrict tunnel object to NFPROTO_NETDEV
[ Upstream commit776d451648] Bail out on using the tunnel dst template from other than netdev family. Add the infrastructure to check for the family in objects. Fixes:af308b94a2("netfilter: nf_tables: add tunnel support") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
03dc4dbcca
commit
83505390aa
3 changed files with 12 additions and 5 deletions
Loading…
Add table
Add a link
Reference in a new issue