Re: [PATCH] 9p/rdma: create RDMA CM ID in caller's net namespace

Yizhou Zhao <[email protected]> Fri, 29 May 2026 17:10:48 +0800
Newsgroups dev.linux.lists.v9fs,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
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/[email protected]/

Best regards,
Yizhou