summaryrefslogtreecommitdiff
path: root/net/ieee802154
diff options
context:
space:
mode:
authorDawei Li <dawei.li@shingroup.cn>2024-03-31 08:34:40 +0300
committerJakub Kicinski <kuba@kernel.org>2024-04-03 04:19:09 +0300
commitbe4e1304419c99a164b4c0e101c7c2a756b635b9 (patch)
treea65c73aed9000b5da4f3dfcf5c9fa1e93c682adb /net/ieee802154
parentad6afdfc638aa03b210b5a90026845575b4be25c (diff)
downloadlinux-be4e1304419c99a164b4c0e101c7c2a756b635b9.tar.xz
net/iucv: Avoid explicit cpumask var allocation on stack
For CONFIG_CPUMASK_OFFSTACK=y kernel, explicit allocation of cpumask variable on stack is not recommended since it can cause potential stack overflow. Instead, kernel code should always use *cpumask_var API(s) to allocate cpumask var in config-neutral way, leaving allocation strategy to CONFIG_CPUMASK_OFFSTACK. Use *cpumask_var API(s) to address it. Signed-off-by: Dawei Li <dawei.li@shingroup.cn> Reviewed-by: Alexandra Winter <wintera@linux.ibm.com> Link: https://lore.kernel.org/r/20240331053441.1276826-2-dawei.li@shingroup.cn Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ieee802154')
0 files changed, 0 insertions, 0 deletions