Re: [PATCHv2] libfc: fixup 'sleeping function called from invalid context'

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

 



Hannes,

> fc_rport_login() will be calling mutex_lock() while running inside
> an RCU-protected section, triggering the warning 'sleeping function
> called from invalid context'.
> To fix this we can drop the rcu functions here altogether as the
> disc mutex protecting the list itself is already held, preventing
> any list manipulation.

Applied to 4.19/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