]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: fix panic when shutting down system with WoL enabled
authorAndy Gospodarek <andy@greyhouse.net>
Tue, 29 Jun 2010 18:28:12 +0000 (18:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Jun 2010 06:12:39 +0000 (23:12 -0700)
commit4499962026a58eca37a011cdd430aec02c9ef885
treead9f85a1a60289f270d04d4982588bd439e1508f
parent86032470f20aca1e1176062e1e708afda1ce289e
ixgbe: fix panic when shutting down system with WoL enabled

This patch added to 2.6.34:

commit 8d570e9ccefbd7756f30e52de3b41242e4f8afa9
Author: Jesse Brandeburg <jesse.brandeburg@intel.com>
Date:   Wed Apr 14 16:04:23 2010 -0700

    ixgbe: fix bug with vlan strip in promsic mode

among other things added a function called ixgbe_vlan_filter_enable.
This new function wants to access and set some rx_ring parameters, but
adapter->rx_ring has already been freed.  This simply moves the free
until after the access and makes __ixgbe_shutdown look more like
ixgbe_remove.

Signed-off-by: Andy Gospodarek <andy@greyhouse.net>
Acked-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Emil Tantilov <emil.s.tantilov@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