Re: [PATCH net-next v1 0/4] net/mlx5: Don't free CQs whose destroy failed
From: Yuho Choi
Date: Fri Oct 16 2026 - 09:37:01 EST
On Fri, 16 Oct 2026 at 02:59, Junxian Huang <huangjunxian6@xxxxxxxxxxxxx> wrote:
>
> Are the buffer and object freed somewhere else later? Or are they
> leaked forever?
They are leaked; nothing frees them later. This only happens when the
firmware is alive but rejects DESTROY_CQ. A device in internal error
still frees everything as before.
Freeing them later would mean tracking them until the device is torn
down, which seemed like too much for this failure case. I can look into
reclaiming them if you think it is worth it.
Thanks,
Yuho