[PATCH v2] RDMA/cma: Use a separate lockdep class for the listening cm_id
Shin'ichiro Kawasaki
shinichiro.kawasaki at wdc.com
Wed Nov 18 03:53:21 PST 2026
On Nov 17, 2026 / 11:48, sashiko-bot at kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 2 potential
> issues to consider:
> - [Medium] RDMA/cma: unsafe lockdep_set_class() placement in
> rdma_listen()
> - [Low] RDMA/cma: unreclassified handler_mutex on
> nvmet_rdma_enable_port() error
I think the two issues are valid. The first one means that the approach
to reclassify ids in rdma_listen() does not work well. I will think about other
solutions. One idea is to go back to the solutions to add a new function to
create rdma id. The other idea is to reclassify the rdma ids not for
listening. I will try if these approach can address the sashiko issues.
More information about the Linux-nvme
mailing list