Re: [PATCH] net/9p: add vsock transport
[email protected] Thu, 25 Jun 2026 17:16:36 +0200
| Newsgroups | dev.linux.lists.v9fs,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
Thank you all for reviewing this patch and sorry for the late reply. I am already working on a v2. I wanted to ask you about your opinions on the issue with port number truncation. The port number is parsed from mount options as u16, which is sufficient for TCP, but vsock uses u32. I see two ways to resolve this. One is adding a new command line option for vsock only that would be stored in a u32. The other is changing the type of the port variable to u32, and adding a range check for TCP. Personally, I would lean towards the second option. -- Matus