Re: [PATCH v2 1/2] RDMA/rxe: Fix null-ptr-deref in kernel_sock_shutdown().

Zhu Yanjun
2026-04-28T02:15:21Z

在 2026/4/27 17:58, David Ahern 写道:
> On 4/27/26 6:52 PM, Kuniyuki Iwashima wrote:
>> To be clear, you meant implementing David' idea, right ?
>> I'm asking because dellink won't need locking then.
> dellink is not needed with my suggestion. It was added to manage
> basically a refcount on the socket to close on last rxe delete in the

This is my original implementation.

@Kuniyuki Iwashima, can you reproduce this problem in your local host or
other test environments?

If yes, can you make tests after applying the commit in the link:
https://patchwork.kernel.org/project/linux-rdma/patch/20260424043522.22901-1-yanjun.zhu@linux.dev/

Thanks a lot.

Zhu Yanjun

> namespace.

--
Best Regards,
Yanjun.Zhu