Skip to content
Commit a0b10018 authored by Adrian Cinal's avatar Adrian Cinal Committed by Bruce Ashfield
Browse files

kernel/sched: Fix double free on invalid isolcpus/nohz_full params

A previous patch left behind a redundant call to free_bootmem_cpumask_var
possibly leading to a double free (once in the if-branch and once in the
unwind code at the end of the function) if the isolcpus= or nohz_full=
kernel command line parameters failed validation, cf.:

https://lists.yoctoproject.org/g/linux-yocto/message/12797



Signed-off-by: default avatarAdrian Cinal <adriancinal1@gmail.com>
Signed-off-by: default avatarBruce Ashfield <bruce.ashfield@gmail.com>
parent 98bf94d1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment