[dpdk-stable] [dpdk-dev] [PATCH] efd: fix tailq entry leak in error path

David Marchand david.marchand at redhat.com
Thu Oct 22 22:06:30 CEST 2020


On Tue, Sep 29, 2020 at 5:32 AM wangyunjian <wangyunjian at huawei.com> wrote:
>
> From: Yunjian Wang <wangyunjian at huawei.com>
>
> In rte_efd_create() allocated memory for tailq entry, we should
> free it when error happens, otherwise it will lead to memory leak.
>
> Fixes: 56b6ef874f80 ("efd: new Elastic Flow Distributor library")
> Cc: stable at dpdk.org
>
> Signed-off-by: Yunjian Wang <wangyunjian at huawei.com>
Acked-by: Yipeng Wang <yipeng1.wang at intel.com>

Applied, thanks.


-- 
David Marchand



More information about the stable mailing list