commit | 6f967f8b1be7001b31c46429f2ee7d275af2190f | [log] [tgz] |
---|---|---|
author | Wenwen Wang <wenwen@cs.uga.edu> | Wed Aug 14 00:14:49 2019 -0500 |
committer | David S. Miller <davem@davemloft.net> | Thu Aug 15 12:37:37 2019 -0700 |
tree | e573bee34bd1356a135befc746a282216caf7041 | |
parent | 0b24a441765527c797ef3bdb2a539547e0df9a7e [diff] |
liquidio: add cleanup in octeon_setup_iq() If oct->fn_list.enable_io_queues() fails, no cleanup is executed, leading to memory/resource leaks. To fix this issue, invoke octeon_delete_instr_queue() before returning from the function. Signed-off-by: Wenwen Wang <wenwen@cs.uga.edu> Signed-off-by: David S. Miller <davem@davemloft.net>