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

David Ahern
2026-04-27T14:38:36Z

On 4/26/26 9:53 PM, Zhu Yanjun wrote:
>> That said, I don't have a strong preference, so up to you
>> maintainers.  Simple lockless solution vs per-newlink/dellink
>> locking.
> To be honest, I do not have a strong preference here, though
>
> I lean slightly toward the per-newlink/dellink locking approach.
>
> Both the simple lockless solution and the locking approach seem
>
> reasonable, depending on whether we prioritize simplicity or
>
> explicit synchronization and lifecycle clarity.
>
> It would be helpful to get feedback from David Ahern, Leon,
>
> and Jason to converge on a final direction.

Going in circles. I have said from the beginning of network namespace
support for rxe do not open the port until first rxe device create and
once opened leave it open. Simple design that limits socket churn to
users wanting to leverage rxe in a network namespace. Zhu Yanjun, if you
are going to be a maintainer of a feature you need to have a consistent
stance on the architecture and code design.