[dpdk-stable] [PATCH 19.11 v1 1/1] net/hinic: fix filters on memory allocation failure
Luca Boccassi
bluca at debian.org
Thu Nov 5 10:41:35 CET 2020
On Wed, 2020-11-04 at 16:40 +0800, Xiaoyun wang wrote:
> [ upstream commit 0c87a15f5f1ccb9eefb6231aea9d095686f2def4 ]
>
> If rte_zmalloc failed, pmd driver should also delete the ntuple
> filter or ethertype filter or normal and tcam filter that already
> added before.
>
> Fixes: d7964ce192e7 ("net/hinic: check memory allocations in flow creation")
>
> Signed-off-by: Xiaoyun wang <cloud.wangxiaoyun at huawei.com>
> ---
> drivers/net/hinic/hinic_pmd_flow.c | 7 +++++++
> 1 file changed, 7 insertions(+)
Acked-by: Luca Boccassi <luca.boccassi at microsoft.com>
Thanks, applied and pushed.
--
Kind regards,
Luca Boccassi
More information about the stable
mailing list