[dpdk-stable] [dpdk-dev] [PATCH] net/mlx5: fix memory free on queue create error

Shahaf Shuler shahafs at mellanox.com
Sun May 26 21:24:19 CEST 2019


Monday, May 20, 2019 8:42 PM, Ori Kam:
> Subject: RE: [dpdk-dev] [PATCH] net/mlx5: fix memory free on queue create
> error
> 
> 
> 
> > -----Original Message-----
> > From: dev <dev-bounces at dpdk.org> On Behalf Of Dekel Peled
> > Sent: Monday, May 20, 2019 11:07 AM
> > To: Yongseok Koh <yskoh at mellanox.com>; Shahaf Shuler
> > <shahafs at mellanox.com>
> > Cc: dev at dpdk.org; Ori Kam <orika at mellanox.com>; stable at dpdk.org
> > Subject: [dpdk-dev] [PATCH] net/mlx5: fix memory free on queue create
> > error
> >
> > In function mlx5_rxq_ibv_new(), pointer *tmpl allocation is attempted
> > at the start, but not validated or freed in case of error.
> > In function mlx5_txq_ibv_new(), pointer *txq_ibv allocation is
> > attempted at the start, but not freed in case of error.
> >
> > This patch adds pointers initialization, validation and freeing.
> >
> > Fixes: 09cb5b581762 ("net/mlx5: separate DPDK from verbs Rx queue
> > objects")
> > Fixes: faf2667fe8d5 ("net/mlx5: separate DPDK from verbs Tx queue
> > objects")
> > Cc: stable at dpdk.org
> >
> > Signed-off-by: Dekel Peled <dekelp at mellanox.com>

Applied to next-net-mlx, thanks. 



More information about the stable mailing list