Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f24f4114 authored by Runmin Wang's avatar Runmin Wang
Browse files

sched/core: Ensure cpu number is valid



Sched_cpu_isolate takes cpu number as input. The input is not
being checked against the NR_CPUS which could potentially
overflow the buffer cpu_isolation_vote. Fix it by checking the
boundary.

Change-Id: If5e07b2481454b539ccdca15a302722478d22df4
Signed-off-by: default avatarRunmin Wang <runminw@codeaurora.org>
parent f7187a9f
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