Re: [PATCH] liquidio: add cleanup in octeon_setup_iq()

2019-08-15 Thread David Miller
From: Wenwen Wang Date: Wed, 14 Aug 2019 00:14:49 -0500 > 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 Applied.

[PATCH] liquidio: add cleanup in octeon_setup_iq()

2019-08-13 Thread Wenwen Wang
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 --- drivers/net/ethernet/cavium/liquidio/request_manager.c | 4 +++- 1 file cha