android_kernel_xiaomi_sm8350/drivers/scsi/cxgb3i
Mike Christie 9010b94636 [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>
2010-02-17 13:40:07 -06:00
..
cxgb3i_ddp.c
cxgb3i_ddp.h
cxgb3i_init.c
cxgb3i_iscsi.c [SCSI] cxgb3i: check for setup netdev 2010-02-17 13:40:07 -06:00
cxgb3i_offload.c [SCSI] cxgb3i, bnx2i: remove uses of nipquad use %pi4 2010-02-17 13:39:41 -06:00
cxgb3i_offload.h
cxgb3i_pdu.c [SCSI] cxgbi3: remove unnecessary NULL test 2010-01-18 10:48:14 -06:00
cxgb3i_pdu.h
cxgb3i.h
Kbuild
Kconfig