WSL2-Linux-Kernel/drivers/net/ixgbe
Mallikarjuna R Chilakala f9ed88549e ixgbe: Fix potential memory leak/driver panic issue while setting up Tx & Rx ring parameters
While setting up the ring parameters using ethtool the driver can
panic or leak memory as ixgbe_open tries to setup tx & rx resources.
The updated logic will use ixgbe_down/up after successful allocation of
tx & rx resources

Signed-off-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@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>
CC: stable@kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-04-02 01:02:33 -07:00
..
Makefile ixgbe: Add 82599 device id's, hook it up into the main driver. 2009-03-01 00:24:36 -08:00
ixgbe.h ixgbe: Fix interrupt configuration for 82599 2009-03-14 12:41:08 -07:00
ixgbe_82598.c ixgbe: fix ethtool -A|a behavior 2009-04-02 01:02:32 -07:00
ixgbe_82599.c ixgbe: Cleanup some whitespace issues, fixup and add some comments 2009-03-14 12:41:13 -07:00
ixgbe_common.c ixgbe: fix ethtool -A|a behavior 2009-04-02 01:02:32 -07:00
ixgbe_common.h ixgbe: fix build when DEBUG is defined 2009-04-02 01:02:27 -07:00
ixgbe_dcb.c ixgbe: Add DCB for 82599, remove BCN support 2009-03-01 00:24:35 -08:00
ixgbe_dcb.h ixgbe: Add DCB for 82599, remove BCN support 2009-03-01 00:24:35 -08:00
ixgbe_dcb_82598.c ixgbe: Allow Priority Flow Control settings to survive a device reset 2009-03-26 01:13:51 -07:00
ixgbe_dcb_82598.h ixgbe: Update copyright dates, bump the driver version number 2009-02-01 01:19:20 -08:00
ixgbe_dcb_82599.c ixgbe: Allow Priority Flow Control settings to survive a device reset 2009-03-26 01:13:51 -07:00
ixgbe_dcb_82599.h ixgbe: Add DCB for 82599, remove BCN support 2009-03-01 00:24:35 -08:00
ixgbe_dcb_nl.c ixgbe: Fix DCB netlink layer for 82599 to enable Priority Flow Control 2009-04-02 01:02:28 -07:00
ixgbe_ethtool.c ixgbe: Fix potential memory leak/driver panic issue while setting up Tx & Rx ring parameters 2009-04-02 01:02:33 -07:00
ixgbe_main.c ixgbe: fix ethtool -A|a behavior 2009-04-02 01:02:32 -07:00
ixgbe_phy.c ixgbe: Add hardware specific initialization code for 82599 devices 2009-03-01 00:24:33 -08:00
ixgbe_phy.h ixgbe: Add hardware specific initialization code for 82599 devices 2009-03-01 00:24:33 -08:00
ixgbe_type.h ixgbe: fix ethtool -A|a behavior 2009-04-02 01:02:32 -07:00