aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorDawei Li <[email protected]>2024-03-31 05:34:41 +0000
committerJakub Kicinski <[email protected]>2024-04-03 01:19:09 +0000
commitd33fe1714a44ff540629b149d8fab4ac6967585c (patch)
tree8746de2970cc60d555e8a252b814bd8593149378 /net/unix/af_unix.c
parentnet/iucv: Avoid explicit cpumask var allocation on stack (diff)
downloadkernel-d33fe1714a44ff540629b149d8fab4ac6967585c.tar.gz
kernel-d33fe1714a44ff540629b149d8fab4ac6967585c.zip
net/dpaa2: 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]> 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