diff options
author | Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com> | 2009-03-31 21:35:24 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-04-02 01:02:33 -0700 |
commit | f9ed88549e2ec73922b788e3865282d221233662 (patch) | |
tree | 1e7aa52d8022d8b328b5a9efde25a42a66431991 /drivers/net/ax88796.c | |
parent | 71fd570b23ee74bca052beb9e88f8f57fb668ac7 (diff) |
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/ax88796.c')
0 files changed, 0 insertions, 0 deletions