Re: [PATCH] 9p: fix privport option setting wrong RDMA field
From: Dominique Martinet
Date: Sun Sep 13 2026 - 04:23:05 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>
Sorry for the delay/thanks for the patch, picked up for 7.4
--
Dominique