]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ixgbe: Fix potential memory leak/driver panic issue while setting up Tx & Rx ring...
authorMallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Fri, 3 Apr 2009 04:35:17 +0000 (04:35 +0000)
committerChris Wright <chrisw@sous-sol.org>
Mon, 27 Apr 2009 17:36:55 +0000 (10:36 -0700)
commitbab57a80d25db2240dee2fa68c2105ba59679e98
tree46cdd54a15acc5b09f7da2ce59e0d64bd97264d6
parentd4a0936d21ddba01f85daf686625f0004b896aae
ixgbe: Fix potential memory leak/driver panic issue while setting up Tx & Rx ring parameters

upstream commit: f9ed88549e2ec73922b788e3865282d221233662

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>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
drivers/net/ixgbe/ixgbe_ethtool.c