Re: [PATCH] 9p: fix privport option setting wrong RDMA field

Dominique Martinet <[email protected]> Fri, 3 Jul 2026 23:16:58 +0900
Newsgroups dev.linux.lists.v9fs,org.kernel.vger.linux-kernel,org.kernel.vger.stable
Message-ID <[email protected]>
Stefano Garzarella wrote on Fri, Jul 03, 2026 at 12:22:54PM +0200:
> From: Stefano Garzarella <[email protected]>
> 
> While reviewing a patch adding vsock transport to 9p, I noticed that
> since commit 1f3e4142c0eb ("9p: convert to the new mount API"), the
> Opt_privport case incorrectly sets rdma_opts->port instead of
> rdma_opts->privport, so mounting with the privport option overwrites
> the RDMA port number instead of enabling privileged port usage.
> 
> Fixes: 1f3e4142c0eb ("9p: convert to the new mount API")
> Cc: [email protected]
> Cc: [email protected]
> Signed-off-by: Stefano Garzarella <[email protected]>

Thanks, this is obviously correct so picking it up.

-- 
Dominique Martinet | Asmadeus