1
0
Fork 0
alistair23-linux/drivers/net/ethernet/intel/e1000
Wenwen Wang 8472ba6215 e1000: fix memory leaks
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>
2019-11-01 13:20:33 -07:00
..
Makefile net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
e1000.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
e1000_ethtool.c e1000: fix memory leaks 2019-11-01 13:20:33 -07:00
e1000_hw.c net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
e1000_hw.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
e1000_main.c ethernet: Delete unnecessary checks before the macro call “dev_kfree_skb” 2019-08-22 16:22:04 -07:00
e1000_osdep.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
e1000_param.c net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00