Re: [PATCH v2] RDMA/restrack: Fix potential invalid address access

From: Leon Romanovsky
Date: Mon Apr 01 2024 - 07:49:55 EST



On Mon, 18 Mar 2024 17:23:20 +0800, Wenchao Hao wrote:
> struct rdma_restrack_entry's kern_name was set to KBUILD_MODNAME
> in ib_create_cq(), while if the module exited but forgot del this
> rdma_restrack_entry, it would cause a invalid address access in
> rdma_restrack_clean() when print the owner of this rdma_restrack_entry.
>
> These code is used to help find one forgotten PD release in one of the
> ULPs. But it is not needed anymore, so delete them.
>
> [...]

Applied, thanks!

[1/1] RDMA/restrack: Fix potential invalid address access
https://git.kernel.org/rdma/rdma/c/ca537a34775c10

Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>