]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ixgbe: fix bug with napi add before request_irq
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Fri, 13 Mar 2009 22:13:49 +0000 (22:13 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 14 Mar 2009 19:41:10 +0000 (12:41 -0700)
commit4dd64df8954cc6d485f7c98ab18e0480f0c7d865
tree46715cd207d6dc1998a5caa93e12c866c3199724
parent509ee935ec0828e534e4d48d08d4d0b4bc17ea92
ixgbe: fix bug with napi add before request_irq

Occasionally if the driver was loaded in a system that
didn't support MSI-X or MSI and was on a shared interrupt,
the driver would then panic in NAPI on the first shared
interrupt because we hadn't called napi_add yet.

Solution: call napi_add before calling request_irq

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe_main.c