summaryrefslogtreecommitdiff
path: root/include/uapi/linux/errqueue.h
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2026-10-07 01:15:49 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2026-10-18 02:35:11 +0200
commitac364eb4d6d747b15df17e5fc9e442c318afaaac (patch)
treeb619cd3760cde8ce4226866e0c2e93793cf1c284 /include/uapi/linux/errqueue.h
parenta20a01ae89813ef493dc416d69f2b2ad17afb54c (diff)
netfilter: nft_compat: restrict raw table targets/matches
xt targets and matches declaring .table = "raw" (CT, NOTRACK) rely on only ever running in the legacy raw table's prerouting/output chains, ahead of conntrack. nft_compat_chain_validate_dependency() already enforces this kind of correspondence for "nat" by requiring the chain type to actually be NAT, but did nothing for "raw": a rule wrapping the CT target could be loaded into any hook and any priority via nft_compat, including after the real conntrack hook has already run. The CT target attaches a conntrack template to the skb when none is set yet. Require that a "raw" table dependency actually matches what xtables enforces via the implict/builtin table dependency. Fixes: 0ca743a55991 ("netfilter: nf_tables: add compatibility layer for x_tables") Assisted-by: LLM Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/uapi/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions