Re: [PATCH] 9p: fix privport option setting wrong RDMA field
From: Dominique Martinet
Date: Fri Jul 03 2026 - 10:21:33 EST
Stefano Garzarella wrote on Fri, Jul 03, 2026 at 12:22:54PM +0200:
> From: Stefano Garzarella <sgarzare@xxxxxxxxxx>
>
> 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: stable@xxxxxxxxxxxxxxx
> Cc: sandeen@xxxxxxxxxx
> Signed-off-by: Stefano Garzarella <sgarzare@xxxxxxxxxx>
Thanks, this is obviously correct so picking it up.
--
Dominique Martinet | Asmadeus