Re: [PATCH] RDMA/irdma: publish APBVT entries after hardware setup
From: Leon Romanovsky
Date: Sun Nov 15 2026 - 09:16:52 EST
On Wed, 11 Nov 2026 09:25:09 +0000, Jaeyeong Lee wrote:
> irdma_add_apbvt() inserts a new entry into apbvt_hash_tbl before
> sending the CQP command that creates the hardware entry. If the command
> fails, the entry is freed without being removed from the hash table. A
> later lookup of the same port traverses the freed entry.
>
> Removing the entry on failure is not sufficient because another thread
> can find it and increment use_cnt while the CQP command is in progress.
>
> [...]
Applied, thanks!
[1/1] RDMA/irdma: publish APBVT entries after hardware setup
https://git.kernel.org/rdma/rdma/c/a9ab64bd0d331e
Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>