aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2024-02-13 16:23:38 +0100
committerFlorian Westphal <fw@strlen.de>2024-02-21 11:57:11 +0100
commit07ace0bbe03b3d8e85869af1dec5e4087b1d57b8 (patch)
treee3daeef43b443a27e206bf3ba6bc0418edb33ffc /tools/perf/scripts/python/export-to-sqlite.py
parentnetfilter: nft_set_pipapo: constify lookup fn args where possible (diff)
downloadlinux-07ace0bbe03b3d8e85869af1dec5e4087b1d57b8.tar.gz
linux-07ace0bbe03b3d8e85869af1dec5e4087b1d57b8.zip
netfilter: nft_set_pipapo: do not rely on ZERO_SIZE_PTR
pipapo relies on kmalloc(0) returning ZERO_SIZE_PTR (i.e., not NULL but pointer is invalid). Rework this to not call slab allocator when we'd request a 0-byte allocation. Reviewed-by: Stefano Brivio <sbrivio@redhat.com> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions