Re: [PATCH] lpfc: size cpu map by last cpu id set

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



James,

> Currently the lpfc driver sizes its cpu_map array based on
> num_possible_cpus(). However, that can be a value that is less than
> the highest cpu id bit that is set. As such, if a thread runs on a cpu
> with a larger cpu id, or for_each_possible_cpu() is used, the driver
> could index off the end of the array and return garbage or GPF.

Applied to 5.5/scsi-queue, thanks.

-- 
Martin K. Petersen	Oracle Linux Engineering



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux