diff options
author | 2022-10-18 02:06:33 -0700 | |
---|---|---|
committer | 2022-10-19 17:05:52 -0700 | |
commit | ab3f7828c9793a5dfa99a54dc19ae3491c38bfa3 (patch) | |
tree | 7d82cf2cf2f0c4a597d867b190d04120cecbae85 /kernel | |
parent | Merge branch 'netlink-formatted-extacks' (diff) | |
download | linux-rng-ab3f7828c9793a5dfa99a54dc19ae3491c38bfa3.tar.xz linux-rng-ab3f7828c9793a5dfa99a54dc19ae3491c38bfa3.zip |
openvswitch: Use kmalloc_size_roundup() to match ksize() usage
Round up allocations with kmalloc_size_roundup() so that openvswitch's
use of ksize() is always accurate and no special handling of the memory
is needed by KASAN, UBSAN_BOUNDS, nor FORTIFY_SOURCE.
Cc: Pravin B Shelar <pshelar@ovn.org>
Cc: dev@openvswitch.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20221018090628.never.537-kees@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions