From: Merav Sicron Date: Mon, 27 Aug 2012 03:26:19 +0000 (+0000) Subject: bnx2x: Move netif_napi_add to the open call X-Git-Tag: v3.6-rc5~20^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26614ba5445fe31a69068a5e94266fa08b4ee345;p=pandora-kernel.git bnx2x: Move netif_napi_add to the open call Move netif_napi_add for all queues from the probe call to the open call, to avoid the case that napi objects are added for queues that may eventually not be initialized and activated. With the former behavior, the driver could crash when netpoll was calling ndo_poll_controller. Signed-off-by: Merav Sicron Signed-off-by: Dmitry Kravkov Signed-off-by: Eilon Greenstein Signed-off-by: David S. Miller --- Reading git-diff-tree failed