From: Mike Christie Date: Wed, 10 Feb 2010 22:51:44 +0000 (-0600) Subject: [SCSI] cxgb3i: check for setup netdev X-Git-Tag: v2.6.34-rc1~284^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9010b94636312c7fb12b591ef09e915f8f80bbd5;p=pandora-kernel.git [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 Signed-off-by: James Bottomley --- Reading git-diff-tree failed