Hi,

-----Original Message-----
From: Wangyunjian <[email protected]>
Sent: Thursday, December 18, 2025 6:57 PM
To: [email protected]
Cc: [email protected]; [email protected]; Lilijun (Jerry)
<[email protected]>; Wangyunjian <[email protected]>;
[email protected]
Subject: [PATCH v2] net/mlx5: fix memoy leak after device spawn failure

In mlx5_dev_spawn() allocated memory for the 'priv->flows', we should free it
when errors occur, otherwise it will lead to memory leak.

Fixes: b4edeaf3efd5 ("net/mlx5: replace flow list with indexed pool")
Cc: [email protected]

Signed-off-by: Yunjian Wang <[email protected]>
---
v2: fix code styles

Patch applied to next-net-mlx,

Kindest regards
Raslan Darawsheh

Reply via email to