Re: [PATCH] 9p/rdma: create RDMA CM ID in caller's net namespace
From: Yizhou Zhao
Date: Fri May 29 2026 - 05:11:22 EST
On Fri, May 29, 2026 at 03:08:15PM +0800, Dominique Martinet wrote:
> We apparently should use fc->net_ns[1] (likewise in other transports that
> use current->nsproxy->net_ns)
>
> [1] https://sashiko.dev/#/patchset/20260529070817.76798-1-zhaoyz24%40mails.tsinghua.edu.cn
>
> If you have time please send a (separate) patch fixing trans_fd.c ?
Thank you for the review! You're right, fc->net_ns is the proper way.
Instead of sending a separate patch for trans_fd.c, We've folded the
trans_fd.c fix into the same patch and updated trans_rdma.c to use
fc->net_ns as well. Please find v2 here:
https://lore.kernel.org/v9fs/20260529090625.78761-1-zhaoyz24@xxxxxxxxxxxxxxxxxxxxx/
Best regards,
Yizhou