aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/cnic.c
diff options
context:
space:
mode:
authorDmitry Kravkov <dmitry@broadcom.com>2011-12-08 08:04:07 +0000
committerDavid S. Miller <davem@davemloft.net>2011-12-08 19:58:35 -0500
commit7185bb335a1493f0ce27e9e94a1645a15db0fc0f (patch)
tree909781a732d6e62526d555855ac6a8594c9440e3 /drivers/net/ethernet/broadcom/cnic.c
parentvlan: add 802.1q netpoll support (diff)
downloadlinux-dev-7185bb335a1493f0ce27e9e94a1645a15db0fc0f.tar.xz
linux-dev-7185bb335a1493f0ce27e9e94a1645a15db0fc0f.zip
bnx2x: properly initialize L5 features
The code is missing initialization of NO_FCOE_FLAG and NO_ISCSI*FLAGS when CONFIG_CNIC is not selected. This causes panic during driver load since commit 1d187b34daaecbb87aa523ba46b92930a388cb21 where NO_FCOE tested unconditionally (outside #ifdef BCM_CNIC structure) and accessed fp[FCOE_IDX] which is not allocated. Reported-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com> Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/cnic.c')
0 files changed, 0 insertions, 0 deletions