[dpdk-stable] [dpdk-dev] [PATCH v2] net/tap: fix memory leak when unregister intr handler

Ferruh Yigit ferruh.yigit at intel.com
Tue Jan 21 17:14:11 CET 2020


On 1/21/2020 2:12 AM, Yunjian Wang wrote:
> The return check of function tap_lsc_intr_handle_set() is wrong, it should
> be 0 or a positive number if success. So the intr_handle->intr_vec was not
> been freed when tap_lsc_intr_handle_set() returned a positive number.
> 
> Fixes: 4870a8cdd968 ("net/tap: support Rx interrupt")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Yunjian Wang <wangyunjian at huawei.com>
> ---
> v2:
>  * Modify according to Ferruh's suggestions

Acked-by: Ferruh Yigit <ferruh.yigit at intel.com>


More information about the stable mailing list