From: Dmitry Kravkov Date: Thu, 8 Dec 2011 08:04:07 +0000 (+0000) Subject: bnx2x: properly initialize L5 features X-Git-Tag: v3.3-rc1~182^2~284 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7185bb335a1493f0ce27e9e94a1645a15db0fc0f;p=pandora-kernel.git 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 Signed-off-by: Dmitry Kravkov Signed-off-by: Eilon Greenstein Signed-off-by: David S. Miller --- Reading git-diff-tree failed