summaryrefslogtreecommitdiffstats
path: root/drivers/net/tun.c
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2011-06-08 19:29:36 +0000
committerDavid S. Miller <davem@davemloft.net>2011-06-08 23:52:37 -0700
commit7625eb2f2fff7bfae41d3119b472c20b48874895 (patch)
tree4d1cd5f9cfb5b563faa3e5afe5a3f3e2e641e6cb /drivers/net/tun.c
parentdb1d350fcb156b58f66a67680617077bcacfe6fc (diff)
downloadop-kernel-dev-7625eb2f2fff7bfae41d3119b472c20b48874895.zip
op-kernel-dev-7625eb2f2fff7bfae41d3119b472c20b48874895.tar.gz
cnic, bnx2: Check iSCSI support early in bnx2_init_one()
Based on earlier patch from Neil Horman <nhorman@tuxdriver.com> If iSCSI is not supported on a bnx2 device, bnx2_cnic_probe() will return NULL and the cnic device will not be visible to bnx2i. This will prevent bnx2i from registering and then unregistering during cnic_start() and cause the warning message: bnx2 0003:01:00.1: eth1: Failed waiting for ULP up call to complete Signed-off-by: Michael Chan <mchan@broadcom.com> Cc: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tun.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud