diff options
| author | Florian Westphal <fw@strlen.de> | 2026-03-05 21:32:00 +0100 |
|---|---|---|
| committer | Florian Westphal <fw@strlen.de> | 2026-03-10 14:10:42 +0100 |
| commit | 7cb9a23d7ae40a702577d3d8bacb7026f04ac2a9 (patch) | |
| tree | 96d632cfd44de719cf721fdee7d9ddd7be641d7c /tools/lib/python/kdoc/python_version.py | |
| parent | b7cdc5a97d02c943f4bdde4d5767ad0c13cad92b (diff) | |
| download | linux-7cb9a23d7ae40a702577d3d8bacb7026f04ac2a9.tar.gz linux-7cb9a23d7ae40a702577d3d8bacb7026f04ac2a9.zip | |
netfilter: nf_tables: always walk all pending catchall elements
During transaction processing we might have more than one catchall element:
1 live catchall element and 1 pending element that is coming as part of the
new batch.
If the map holding the catchall elements is also going away, its
required to toggle all catchall elements and not just the first viable
candidate.
Otherwise, we get:
WARNING: ./include/net/netfilter/nf_tables.h:1281 at nft_data_release+0xb7/0xe0 [nf_tables], CPU#2: nft/1404
RIP: 0010:nft_data_release+0xb7/0xe0 [nf_tables]
[..]
__nft_set_elem_destroy+0x106/0x380 [nf_tables]
nf_tables_abort_release+0x348/0x8d0 [nf_tables]
nf_tables_abort+0xcf2/0x3ac0 [nf_tables]
nfnetlink_rcv_batch+0x9c9/0x20e0 [..]
Fixes: 628bd3e49cba ("netfilter: nf_tables: drop map element references from preparation phase")
Reported-by: Yiming Qian <yimingqian591@gmail.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
