aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/node.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <[email protected]>2023-07-23 14:41:48 +0000
committerFlorian Westphal <[email protected]>2023-07-26 14:48:49 +0000
commit0ebc1064e4874d5987722a2ddbc18f94aa53b211 (patch)
treeea19306a3e56bac6b91a0ed63b62bc2a490cb37b /net/tipc/node.c
parentnetfilter: nf_tables: skip immediate deactivate in _PREPARE_ERROR (diff)
downloadkernel-0ebc1064e4874d5987722a2ddbc18f94aa53b211.tar.gz
kernel-0ebc1064e4874d5987722a2ddbc18f94aa53b211.zip
netfilter: nf_tables: disallow rule addition to bound chain via NFTA_RULE_CHAIN_ID
Bail out with EOPNOTSUPP when adding rule to bound chain via NFTA_RULE_CHAIN_ID. The following warning splat is shown when adding a rule to a deleted bound chain: WARNING: CPU: 2 PID: 13692 at net/netfilter/nf_tables_api.c:2013 nf_tables_chain_destroy+0x1f7/0x210 [nf_tables] CPU: 2 PID: 13692 Comm: chain-bound-rul Not tainted 6.1.39 #1 RIP: 0010:nf_tables_chain_destroy+0x1f7/0x210 [nf_tables] Fixes: d0e2c7de92c7 ("netfilter: nf_tables: add NFT_CHAIN_BINDING") Reported-by: Kevin Rich <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]> Signed-off-by: Florian Westphal <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions