HomeFreeBSD

mca: Handle inconsistent CMCI capability reporting

Description

mca: Handle inconsistent CMCI capability reporting

A BIOS bug may apparently cause the BSP to report that it does not
implement CMCI, with some APs reporting that they do. In this scenario,
avoid a NULL pointer dereference that occurs in cmci_monitor() because
cmc_state was not allocated by the BSP.

Approved by: re (gjb)
PR: 253272
Reported by: asomers, mmacy
Reviewed by: kib (previous version)

(cherry picked from commit b5770470276268acef21368b3e77a325df883500)
(cherry picked from commit 8eebd9592e3daf80c2c743666614119d6c862186)

Details

Provenance
markjAuthored on Feb 16 2021, 5:07 PM
Parents
rG1e76911d62ed: Adding PRR sysctls to tcp(4) man page
Branches
Unknown
Tags
Unknown