Re: [PATCH] net: flow_offload: fix memory leak in nfp_abm_u32_knode_replace

2019-09-25 Thread Jakub Kicinski
On Wed, 25 Sep 2019 13:34:46 -0500, Navid Emamdoost wrote: > In nfp_abm_u32_knode_replace if the allocation for match fails it should > go to the error handling instead of returning. > > Signed-off-by: Navid Emamdoost > --- > drivers/net/ethernet/netronome/nfp/abm/cls.c | 11 +++ > 1 fil

[PATCH] net: flow_offload: fix memory leak in nfp_abm_u32_knode_replace

2019-09-25 Thread Navid Emamdoost
In nfp_abm_u32_knode_replace if the allocation for match fails it should go to the error handling instead of returning. Signed-off-by: Navid Emamdoost --- drivers/net/ethernet/netronome/nfp/abm/cls.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/net/ethe