ixgbe: fix possible NULL pointer deference in shutdown path
authorDon Skidmore <donald.c.skidmore@intel.com>
Wed, 1 Dec 2010 20:54:53 +0000 (20:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Dec 2010 21:16:29 +0000 (13:16 -0800)
After freeing the rings we were not zeroing out the ring count values.
This patch now clears these counts correctly.

Reported-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found