Messages in this thread | | | From | "Brown, Aaron F" <> | Subject | Re: [PATCH] e1000: fix memory leaks | Date | Sat, 14 Sep 2019 01:15:38 +0000 |
| |
On Mon, 2019-08-12 at 00:59 -0500, Wenwen Wang wrote: > In e1000_set_ringparam(), 'tx_old' and 'rx_old' are not deallocated if > e1000_up() fails, leading to memory leaks. Refactor the code to fix this > issue. > > Signed-off-by: Wenwen Wang <wenwen@cs.uga.edu> > --- > drivers/net/ethernet/intel/e1000/e1000_ethtool.c | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-)
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
| |