aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorStefano Brivio <[email protected]>2020-06-14 23:42:07 +0200
committerPablo Neira Ayuso <[email protected]>2020-06-30 18:25:07 +0200
commitd61d2e902aa0561e5f4b6348514fb35de544aa1f (patch)
tree7a5a5bf4ffe0be7775a9630908ed52b5882c814f /scripts/gdb/linux/proc.py
parentf53b9b0bdc59c0823679f2e3214e0d538f5951b9 (diff)
netfilter: nft_set_pipapo: Drop useless assignment of scratch map index on insert
In nft_pipapo_insert(), we need to reallocate scratch maps that will be used for matching by lookup functions, if they have never been allocated or if the bucket size changes as a result of the insertion. As pipapo_realloc_scratch() provides a pair of fresh, zeroed out maps, there's no need to select a particular one after reallocation. Other than being useless, the existing assignment was also troubled by the fact that the index was set only on the CPU performing the actual insertion, as spotted by Florian. Simply drop the assignment. Reported-by: Florian Westphal <[email protected]> Fixes: 3c4287f62044 ("nf_tables: Add set type for arbitrary concatenation of ranges") Signed-off-by: Stefano Brivio <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions