From: Michael Chan Date: Fri, 2 Aug 2013 18:28:23 +0000 (-0700) Subject: cnic, bnx2i: Fix bug on some bnx2x devices that don't support iSCSI X-Git-Tag: v3.12-rc1~132^2~368 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e9402eb450f1c921cc130765a4554a84821feab;p=pandora-kernel.git cnic, bnx2i: Fix bug on some bnx2x devices that don't support iSCSI On some bnx2x devices, iSCSI is determined to be unsupported only after firmware is downloaded. We need to check max_iscsi_conn again after NETDEV_UP and block iSCSI init operations. Without this fix, iscsiadm can hang as the firmware will not respond to the iSCSI init message. Signed-off-by: Eddie Wai Signed-off-by: Michael Chan Signed-off-by: David S. Miller --- Reading git-diff-tree failed