summaryrefslogtreecommitdiff
path: root/drivers/scsi/bnx2fc/bnx2fc_fcoe.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2017-07-24 12:52:58 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2017-07-26 21:51:24 -0400
commit2fa2fa1ae6b42fc4c4995fdbf8fd7df96bb25ba4 (patch)
tree678556aaaea61778230319612d4377ee4fda3acc /drivers/scsi/bnx2fc/bnx2fc_fcoe.c
parent2c2b66ae9d11d99f5f6d7010f0d46401ed9031ce (diff)
scsi: bnx2i: Prevent recursive cpuhotplug locking
The BNX2I module init/exit code installs/removes the hotplug callbacks with the cpu hotplug lock held. This worked with the old CPU locking implementation which allowed recursive locking, but with the new percpu rwsem based mechanism this is not longer allowed. Use the _cpuslocked() variants to fix this. Reported-by: Steven Rostedt <rostedt@goodmis.org> Acked-by: Chad Dupuis <chad.dupuis@cavium.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/bnx2fc/bnx2fc_fcoe.c')
0 files changed, 0 insertions, 0 deletions