diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-12-15 00:43:22 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-01-26 02:35:29 +0300 |
commit | f1ee0ffbc0243f0a9dc4a9348fffed710d9ea419 (patch) | |
tree | b65e243c8949324bd0ca48c1cf6308699bd7a535 /net/bluetooth | |
parent | f5ab4e73c9e10b87e8d3066ac227bfcd70a80136 (diff) | |
download | linux-f1ee0ffbc0243f0a9dc4a9348fffed710d9ea419.tar.xz |
netfilter: nf_tables: validate chain type update if available
[ Upstream commit aaba7ddc8507f4ad5bbd07988573967632bc2385 ]
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: 96518518cc41 ("netfilter: add nftables")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/bluetooth')
0 files changed, 0 insertions, 0 deletions