summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2024-02-21 18:38:45 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-03-01 13:41:58 +0100
commit06e841cc2db607879ec530cd01bb7ca8813341c3 (patch)
tree15f5c3d3c4ad39c723b36a2a3e884b016bc84f72 /tools/perf/scripts/python/export-to-sqlite.py
parent4d74eaaee8201e7635d38333a5e466e7484991d3 (diff)
netfilter: nf_tables: use kzalloc for hook allocation
[ Upstream commit 195e5f88c2e48330ba5483e0bad2de3b3fad484f ] KMSAN reports unitialized variable when registering the hook, reg->hook_ops_type == NF_HOOK_OP_BPF) ~~~~~~~~~~~ undefined This is a small structure, just use kzalloc to make sure this won't happen again when new fields get added to nf_hook_ops. Fixes: 7b4b2fa37587 ("netfilter: annotate nf_tables base hook ops") Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions