Re: [dpdk-dev] [PATCH 1/6] net/mlx5: fix shared device context creation error flow

2021-09-05 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Michael Baum > Sent: Tuesday, August 31, 2021 11:37 PM > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > ; Slava Ovsiienko ; > sta...@dpdk.org > Subject: [PATCH 1/6] net/mlx5: fix shared device context creation error flow How about something like t

[dpdk-dev] [PATCH 1/6] net/mlx5: fix shared device context creation error flow

2021-08-31 Thread Michael Baum
In shared device context creation, there are two validations after MR btree memory allocation. When one of them fails, the MR btree memory was not freed what caused a memory leak. Free it. Fixes: 632f0f19056f ("net/mlx5: manage shared counters in three-level table") Cc: sta...@dpdk.org Signed-o