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-boun...@dpdk.org> On Behalf Of Dekel Peled > > Sent: Monday, May 20, 2019 11:07 AM > > To: Yongseok Koh <ys...@mellanox.com>; Shahaf Shuler > > <shah...@mellanox.com> > > Cc: dev@dpdk.org; Ori Kam <or...@mellanox.com>; sta...@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: sta...@dpdk.org > > > > Signed-off-by: Dekel Peled <dek...@mellanox.com>
Applied to next-net-mlx, thanks.