linux_dsm_epyc7002/drivers/net/ethernet/intel/ixgbe
Alexander Duyck af94bf6db1 ixgbe: Fix use after free on module remove
While testing the TCP changes I had to fix an issue in order to be able to
load and unload the module.

The recent patch that added thermal sensor support added a use after free
bug on module unload with an 82598 adapter in the system.  To resolve the
issue I have updated the code so that when we free the info_kobj we set it
back to NULL.

I suspect there are likely other bugs present, but I will leave that for
another patch that can undergo more testing.

I am submitting this directly to net-next since this fixes a fairly serious
bug that will lock up the ixgbe module until the system is rebooted.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-05-03 04:21:34 -04:00
..
ixgbe_82598.c ixgbe: add hwmon interface to export thermal data 2012-05-02 02:12:23 -07:00
ixgbe_82599.c ixgbe: add hwmon interface to export thermal data 2012-05-02 02:12:23 -07:00
ixgbe_common.c ixgbe: add hwmon interface to export thermal data 2012-05-02 02:12:23 -07:00
ixgbe_common.h ixgbe: add support functions to access thermal data 2012-05-02 01:59:14 -07:00
ixgbe_dcb_82598.c ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_dcb_82598.h ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_dcb_82599.c ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_dcb_82599.h ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_dcb_nl.c ixgbe: driver fix for link flap 2012-04-03 15:24:57 -07:00
ixgbe_dcb.c ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_dcb.h ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_ethtool.c ixgbe: check for WoL support in single function 2012-04-27 02:31:26 -07:00
ixgbe_fcoe.c ixgbe: Store Tx flags and protocol information to tx_buffer sooner 2012-03-19 01:38:42 -07:00
ixgbe_fcoe.h ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_lib.c ixgbe: Identify FCoE rings earlier to resolve memory corruption w/ FCoE 2012-04-17 15:43:02 -07:00
ixgbe_main.c ixgbe: Reset max_vfs to zero when user request is out of range 2012-05-02 02:12:59 -07:00
ixgbe_mbx.c ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_mbx.h ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_phy.c ixgbe: add I2C clock stretching 2012-04-14 02:10:50 -07:00
ixgbe_phy.h ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_sriov.c ixgbe: Deny MACVLAN requests from VFs with admin set MAC 2012-05-02 02:12:52 -07:00
ixgbe_sriov.h ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_sysfs.c ixgbe: Fix use after free on module remove 2012-05-03 04:21:34 -04:00
ixgbe_type.h ixgbe: add support functions to access thermal data 2012-05-02 01:59:14 -07:00
ixgbe_x540.c ixgbe: add hwmon interface to export thermal data 2012-05-02 02:12:23 -07:00
ixgbe.h ixgbe: add hwmon interface to export thermal data 2012-05-02 02:12:23 -07:00
Makefile ixgbe: add hwmon interface to export thermal data 2012-05-02 02:12:23 -07:00