summaryrefslogtreecommitdiffstats
path: root/drivers/net/r8169.c
diff options
context:
space:
mode:
authorMallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>2009-03-31 23:35:24 +0200
committerDavid S. Miller <davem@davemloft.net>2009-04-02 10:02:33 +0200
commitf9ed88549e2ec73922b788e3865282d221233662 (patch)
tree1e7aa52d8022d8b328b5a9efde25a42a66431991 /drivers/net/r8169.c
parentixgbe: fix ethtool -A|a behavior (diff)
downloadlinux-f9ed88549e2ec73922b788e3865282d221233662.tar.xz
linux-f9ed88549e2ec73922b788e3865282d221233662.zip
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>
Diffstat (limited to 'drivers/net/r8169.c')
0 files changed, 0 insertions, 0 deletions