From: asmadeus@codewreck.org
To: Joshua Murphy <joshuamurphy@posteo.net>
Cc: ericvh@kernel.org, lucho@ionkov.net, linux_oss@crudebyte.com,
v9fs@lists.linux.dev
Subject: Re: [PATCH v2] net/9p/fd: support ipv6 for trans=tcp
Date: Sat, 18 Jan 2025 16:27:46 +0900 [thread overview]
Message-ID: <Z4tX8nnJAO8zw9c1@codewreck.org> (raw)
In-Reply-To: <20250117214943.6368-2-joshuamurphy@posteo.net>
Joshua Murphy wrote on Fri, Jan 17, 2025 at 09:44:46PM +0000:
> Allows specifying an IPv6 address when mounting a remote 9p file system.
Thanks for the v2!
Daniel beat me to the important bits, just a couple more.
> - if (addr == NULL || valid_ipaddr4(addr) < 0)
valid_ipaddr4 is no longer used so please also remove the function
definition just above as well
> - return -EINVAL;
> + sprintf(port_str, "%u", opts.port);
Oh, I hadn't realized this takes a string..
The previous string -> u16 conversion into opts.port happens in the same
file (parse_opts), and trans_opts is only used to print options in
/proc/mount later so can be made a char * as well, but that is code
cleanup that can (and probably should) be done in a separate patch.
Let's keep the sprintf here and I'll try to find time for that later
unless you want to do it.
Cheers,
--
Dominique Martinet | Asmadeus
next prev parent reply other threads:[~2025-01-18 7:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-17 21:44 [PATCH v2] net/9p/fd: support ipv6 for trans=tcp Joshua Murphy
2025-01-17 22:50 ` Daniel Verkamp
2025-01-18 1:23 ` Joshua Murphy
2025-01-18 7:27 ` asmadeus [this message]
2025-01-18 18:54 ` Joshua Murphy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Z4tX8nnJAO8zw9c1@codewreck.org \
--to=asmadeus@codewreck.org \
--cc=ericvh@kernel.org \
--cc=joshuamurphy@posteo.net \
--cc=linux_oss@crudebyte.com \
--cc=lucho@ionkov.net \
--cc=v9fs@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.