-otrans=tcp with IPv6 address?
It seems like it isn’t currently possible to mount using an IPv6 address and -otrans=tcp.
I think the issue is in p9_fd_create_tcp in net/9p/trans_fd.c as it only validates IPv4 addresses and returns EINVAL otherwise.
Thanks,
Signature · 2 lines
Joshua Murphy [email protected]
Dominique Martinet
maintainerJoshua Murphy wrote on Tue, Jan 14, 2025 at 09:01:04PM +0000:
Quoted 2 lines
It seems like it isn’t currently possible to mount using an IPv6 address and -otrans=tcp.
Right, the current workaround is to open a socket before calling mount and pass that socket with trans=fd
Quoted 2 lines
I think the issue is in
p9_fd_create_tcpinnet/9p/trans_fd.cas it only validates IPv4 addresses and returns EINVAL otherwise.
I haven't had time to do anything about this for ages, but patches are welcome!
Signature · 1 line
Dominique Martinet | Asmadeus
Quoted 2 lines
I haven't had time to do anything about this for ages, but patches are welcome!
I haven’t done kernel development before, but I’ll see if I can put something together.
--
Joshua Murphy
[email protected]