ixgbevf: Fix panic when loading driver
authorAlexander Duyck <alexander.h.duyck@intel.com>
Mon, 16 Jul 2012 23:44:48 +0000 (23:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Jul 2012 09:56:53 +0000 (02:56 -0700)
commit10cc1bdd5ef65f60f570b594c4c066d763c128fb
treeb0732c876912dfab1e4570c8e846ad6fa0c9fbeb
parentef764a13b8f4bc4b532a51bc37c35b3974831b29
ixgbevf: Fix panic when loading driver

This patch addresses a kernel panic seen when setting up the interface.
Specifically we see a NULL pointer dereference on the Tx descriptor cleanup
path when enabling interrupts.  This change corrects that so it cannot
occur.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Acked-by: Greg Rose <gregory.v.rose@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c