[PATCH v3] net/mlx5: fix potential memory leak in meter

Raslan Darawsheh rasland at nvidia.com
Mon Oct 28 14:13:17 CET 2024


Hi,
From: Shun Hao <shunh at nvidia.com>
Sent: Wednesday, October 23, 2024 9:22 AM
To: Slava Ovsiienko; Matan Azrad; Ori Kam; Dariusz Sosnowski; Bing Zhao; Suanming Mou
Cc: dev at dpdk.org; Raslan Darawsheh; stable at dpdk.org
Subject: [PATCH v3] net/mlx5: fix potential memory leak in meter

When meter not enabled, avoid allocate memory for meter profile table,
which will not be freed in close process when meter not enabled

Fixes: a295c69a8b24 ("net/mlx5: optimize meter profile lookup")
Cc: stable at dpdk.org

Signed-off-by: Shun Hao <shunh at nvidia.com>
Acked-by: Bing Zhao <bingz at nvidia.com>

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh


More information about the dev mailing list