summaryrefslogtreecommitdiffstats
path: root/net/core
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 /net/core
parent6d4cdf47d2cc9d40227c67c79a4942e36ed1b0ba (diff)
downloadop-kernel-dev-7185bb335a1493f0ce27e9e94a1645a15db0fc0f.zip
op-kernel-dev-7185bb335a1493f0ce27e9e94a1645a15db0fc0f.tar.gz
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 'net/core')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud