summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2021-09-29 23:17:18 +0300
committerJakub Kicinski <kuba@kernel.org>2021-10-01 03:27:03 +0300
commit129291980f4901ae68ee3ba4344bdc38cf5f800d (patch)
treed2f1074bfe1592582b38b3757e741067eaf82b4f /tools/perf/scripts/python/export-to-postgresql.py
parentdd9a887b35b01d7027f974f5e7936f1410ab51ca (diff)
downloadlinux-129291980f4901ae68ee3ba4344bdc38cf5f800d.tar.xz
net: sched: Use struct_size() helper in kvmalloc()
Make use of the struct_size() helper instead of an open-coded version, in order to avoid any potential type mistakes or integer overflows that, in the worst scenario, could lead to heap overflows. Link: https://github.com/KSPP/linux/issues/160 Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> Link: https://lore.kernel.org/r/20210929201718.GA342296@embeddedor Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions