diff options
author | Wenwen Wang <wenwen@cs.uga.edu> | 2019-08-12 07:59:21 +0200 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-11-01 21:20:33 +0100 |
commit | 8472ba62154058b64ebb83d5f57259a352d28697 (patch) | |
tree | 1658da565edf5b754cecc8d52bb7337bae5d4099 /Documentation | |
parent | i40e: Fix receive buffer starvation for AF_XDP (diff) | |
download | linux-8472ba62154058b64ebb83d5f57259a352d28697.tar.xz linux-8472ba62154058b64ebb83d5f57259a352d28697.zip |
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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions