summaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2010-12-23 08:42:57 +0100
committerDavid S. Miller <davem@davemloft.net>2010-12-23 20:44:28 +0100
commit8adc9240f98a816f7e9b3d93b9446a790110e062 (patch)
treeab3fbcfb3d29a9a3a1bbafd861a38f649d690e70 /drivers/scsi
parentcnic: Fix iSCSI TCP port endian order. (diff)
downloadlinux-8adc9240f98a816f7e9b3d93b9446a790110e062.tar.xz
linux-8adc9240f98a816f7e9b3d93b9446a790110e062.zip
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')
0 files changed, 0 insertions, 0 deletions