mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
openvswitch: Use kmalloc_size_roundup() to match ksize() usage
[ Upstream commitab3f7828c9] 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> Stable-dep-of:a1e64addf3("net: openvswitch: remove misbehaving actions length check") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
b6be0f6878
commit
23721bbf14
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue