mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-12 06:01:58 +00:00
netfilter: nf_tables: validate chain type update if available
[ Upstream commitaaba7ddc85] Parse netlink attribute containing the chain type in this update, to bail out if this is different from the existing type. Otherwise, it is possible to define a chain with the same name, hook and priority but different type, which is silently ignored. Fixes:96518518cc("netfilter: add nftables") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
66f0f06ffb
commit
ca3cbb2460
1 changed files with 10 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue