diff options
| author | Dawei Li <[email protected]> | 2024-03-31 05:34:40 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-04-03 01:19:09 +0000 |
| commit | be4e1304419c99a164b4c0e101c7c2a756b635b9 (patch) | |
| tree | a65c73aed9000b5da4f3dfcf5c9fa1e93c682adb /net/unix/af_unix.c | |
| parent | net: dsa: sja1105: drop driver owner assignment (diff) | |
| download | kernel-be4e1304419c99a164b4c0e101c7c2a756b635b9.tar.gz kernel-be4e1304419c99a164b4c0e101c7c2a756b635b9.zip | |
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 <[email protected]>
Reviewed-by: Alexandra Winter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
