From: Stefano Brivio <sbrivio@redhat.com>
To: Jon Maloy <jmaloy@redhat.com>
Cc: david@gibson.dropbear.id.au, passt-dev@passt.top
Subject: Re: [PATCH v7 01/13] dhcpv6: Fix reply destination to match client's source address
Date: Sat, 20 Jun 2026 00:09:36 +0200 (CEST) [thread overview]
Message-ID: <20260620000930.62f30fee@elisabeth> (raw)
In-Reply-To: <20260413005319.3295910-2-jmaloy@redhat.com>
On Sun, 12 Apr 2026 20:53:07 -0400
Jon Maloy <jmaloy@redhat.com> wrote:
> tap_ip6_daddr() selects the reply destination based on our source
> address type (link-local), so it always returns addr_ll_seen. But if
> the client sent from a global address, we would reply to an address
> different from what the client is expecting. Since RFC 8415 allows
> clients to use global addresses for DHCPv6, we now correct this, and
> always respond to the address the client was using.
I don't have much to add on top of David's comments, just two remarks
about the commit message:
- as far as I understand, you need this patch to simplify the rest of
the series, but the way this is written makes it look like you're
fixing something concrete.
Somebody looking at the revision log in a while (including myself)
will think so, at least. Are you actually fixing something you've
ever seen in practice? If not, I think you should state that this is
theoretical and it's simply needed by further changes, but doesn't
fix any practical issue.
- I think it's time to start referring to RFC 9915 (it obsoleted RFC
8415 in January 2026) and maybe a reference to section 18.3.10 would
be appropriate here, as that's the one clarifying that "[...] the
server unicasts the Advertise or Reply message directly to the client
using the address in the source address field from the IP datagram
in which the original message was received."
--
Stefano
next prev parent reply other threads:[~2026-06-19 22:09 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-13 0:53 [PATCH v7 00/13] Introduce multiple addresses and late binding Jon Maloy
2026-04-13 0:53 ` [PATCH v7 01/13] dhcpv6: Fix reply destination to match client's source address Jon Maloy
2026-05-14 5:21 ` David Gibson
2026-06-19 22:11 ` Stefano Brivio
2026-06-19 22:09 ` Stefano Brivio [this message]
2026-04-13 0:53 ` [PATCH v7 02/13] passt, pasta: Introduce unified multi-address data structures Jon Maloy
2026-05-14 6:30 ` David Gibson
2026-05-14 23:28 ` Stefano Brivio
2026-05-25 9:35 ` David Gibson
2026-06-19 22:09 ` Stefano Brivio
2026-04-13 0:53 ` [PATCH v7 03/13] fwd: Unify guest accessibility checks with unified address array Jon Maloy
2026-05-25 9:38 ` David Gibson
2026-06-19 22:09 ` Stefano Brivio
2026-04-13 0:53 ` [PATCH v7 04/13] arp: Check all configured addresses in ARP filtering Jon Maloy
2026-06-19 22:10 ` Stefano Brivio
2026-04-13 0:53 ` [PATCH v7 05/13] conf: Allow multiple -a/--address options per address family Jon Maloy
2026-05-25 9:47 ` David Gibson
2026-06-19 22:10 ` Stefano Brivio
2026-04-13 0:53 ` [PATCH v7 06/13] netlink, conf: Read all addresses from template interface at startup Jon Maloy
2026-04-13 0:53 ` [PATCH v7 07/13] netlink, pasta: refactor function pasta_ns_conf() Jon Maloy
2026-05-26 1:58 ` David Gibson
2026-04-13 0:53 ` [PATCH v7 08/13] conf, pasta: Track observed guest IPv4 addresses in unified address array Jon Maloy
2026-05-27 2:46 ` David Gibson
2026-06-19 22:10 ` Stefano Brivio
2026-04-13 0:53 ` [PATCH v7 09/13] conf, pasta: Track observed guest IPv6 " Jon Maloy
2026-05-27 3:40 ` David Gibson
2026-06-19 22:11 ` Stefano Brivio
2026-04-13 0:53 ` [PATCH v7 10/13] migrate: Update protocol to v3 for multi-address support Jon Maloy
2026-05-27 3:55 ` David Gibson
2026-06-19 22:11 ` Stefano Brivio
2026-04-13 0:53 ` [PATCH v7 11/13] dhcp: Select address for DHCP distribution Jon Maloy
2026-05-27 4:30 ` David Gibson
2026-06-19 22:11 ` Stefano Brivio
2026-04-13 0:53 ` [PATCH v7 12/13] dhcpv6: Select addresses for DHCPv6 distribution Jon Maloy
2026-05-27 4:40 ` David Gibson
2026-06-19 22:11 ` Stefano Brivio
2026-04-13 0:53 ` [PATCH v7 13/13] ndp: Support advertising multiple prefixes in Router Advertisements Jon Maloy
2026-05-27 4:52 ` David Gibson
2026-06-19 22:11 ` Stefano Brivio
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=20260620000930.62f30fee@elisabeth \
--to=sbrivio@redhat.com \
--cc=david@gibson.dropbear.id.au \
--cc=jmaloy@redhat.com \
--cc=passt-dev@passt.top \
/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.
Code repositories for project(s) associated with this public inbox
https://passt.top/passt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).