HomeFreeBSD

x86: fix assertion in ipi_send_cpu to range check the passed id

Description

x86: fix assertion in ipi_send_cpu to range check the passed id

Prior to the change for sufficiently bad id (and in particular NOCPU which is -1)
it would access memory outside of the cpu_apic_ids array.

Details

Provenance
mjgAuthored on
Parents
rS356896: [PowerPC64] fix crash when using machdep.moea64_bpvo_pool_size tunable
Branches
Unknown
Tags
Unknown