Files
linux/drivers/net/ethernet/intel/e1000
Wenwen Wang 713adf6dd3 e1000: fix memory leaks
[ Upstream commit 8472ba6215 ]

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>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-11-12 19:21:18 +01:00
..
2019-11-12 19:21:18 +01:00