summaryrefslogtreecommitdiff
path: root/drivers/scsi/bnx2i/bnx2i_hwi.c
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2010-12-23 07:42:57 (GMT)
committerDavid S. Miller <davem@davemloft.net>2010-12-23 19:44:28 (GMT)
commit8adc9240f98a816f7e9b3d93b9446a790110e062 (patch)
treeab3fbcfb3d29a9a3a1bbafd861a38f649d690e70 /drivers/scsi/bnx2i/bnx2i_hwi.c
parent9b09336072796378dac46df63bcd43291b24fd12 (diff)
downloadlinux-fsl-qoriq-8adc9240f98a816f7e9b3d93b9446a790110e062.tar.xz
cnic: Prevent "scheduling while atomic" when calling ->cnic_init()
cnic_dev_list is protected by rtnl_lock and cnic_dev_lock spin_lock during modifications. When looping on cnic_dev_list and calling ->cnic_init(), we should just hold rtnl_lock since ->cnic_init() may sleep. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/scsi/bnx2i/bnx2i_hwi.c')
0 files changed, 0 insertions, 0 deletions