aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc
diff options
context:
space:
mode:
authorPablo Neira Ayuso <[email protected]>2023-07-23 14:24:46 +0000
committerFlorian Westphal <[email protected]>2023-07-26 14:48:49 +0000
commit0a771f7b266b02d262900c75f1e175c7fe76fec2 (patch)
tree423d50a9a9b24b3c51754383e5511f2a51ed2369 /net/tipc
parentnetfilter: nft_set_rbtree: fix overlap expiration walk (diff)
downloadkernel-0a771f7b266b02d262900c75f1e175c7fe76fec2.tar.gz
kernel-0a771f7b266b02d262900c75f1e175c7fe76fec2.zip
netfilter: nf_tables: skip immediate deactivate in _PREPARE_ERROR
On error when building the rule, the immediate expression unbinds the chain, hence objects can be deactivated by the transaction records. Otherwise, it is possible to trigger the following warning: WARNING: CPU: 3 PID: 915 at net/netfilter/nf_tables_api.c:2013 nf_tables_chain_destroy+0x1f7/0x210 [nf_tables] CPU: 3 PID: 915 Comm: chain-bind-err- Not tainted 6.1.39 #1 RIP: 0010:nf_tables_chain_destroy+0x1f7/0x210 [nf_tables] Fixes: 4bedf9eee016 ("netfilter: nf_tables: fix chain binding transaction logic") 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')
0 files changed, 0 insertions, 0 deletions