summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2010-02-10 23:51:44 +0100
committerJames Bottomley <James.Bottomley@suse.de>2010-02-17 20:40:07 +0100
commit9010b94636312c7fb12b591ef09e915f8f80bbd5 (patch)
treed84995617c8d9b1ac9b5dba2576c28a2429cc58f /mm
parent[SCSI] cxgb3i, bnx2i: remove uses of nipquad use %pi4 (diff)
downloadlinux-9010b94636312c7fb12b591ef09e915f8f80bbd5.tar.xz
linux-9010b94636312c7fb12b591ef09e915f8f80bbd5.zip
[SCSI] cxgb3i: check for setup netdev
If the netdev has not been setup when the host is, we will oops when the iscsi layer calls into the driver and a it tries to reference the netdev in hba->ndev. This can happen if the iscsi driver is loaded before ifup is done. This patch just adds a check, so we can gracefully fail the operation. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions