diff options
author | Kees Cook <[email protected]> | 2022-10-21 19:10:47 -0700 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2022-10-25 12:59:04 +0200 |
commit | d6dd508080a3cdc0ab34ebf66c3734f2dff907ad (patch) | |
tree | 6346dfe9f195b2d1dfe59af5dae563b2d0d718a1 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | 6459838af0c08ea2b38fad6e153576549ca3b92f (diff) |
bnx2: Use kmalloc_size_roundup() to match ksize() usage
Round up allocations with kmalloc_size_roundup() so that build_skb()'s
use of ksize() is always accurate and no special handling of the memory
is needed by KASAN, UBSAN_BOUNDS, nor FORTIFY_SOURCE.
Cc: Rasesh Mody <[email protected]>
Cc: [email protected]
Cc: "David S. Miller" <[email protected]>
Cc: Eric Dumazet <[email protected]>
Cc: Jakub Kicinski <[email protected]>
Cc: Paolo Abeni <[email protected]>
Cc: [email protected]
Signed-off-by: Kees Cook <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions