From: Nicolas Dichtel <nicolas.dichtel@6wind.com>
To: Justin Iurman <justin.iurman@6wind.com>
Cc: Andrea Mayer <andrea.mayer@uniroma2.it>,
netdev@vger.kernel.org, davem@davemloft.net, dsahern@kernel.org,
edumazet@google.com, kuba@kernel.org, pabeni@redhat.com,
horms@kernel.org, justin.iurman@gmail.com,
stefano.salsano@uniroma2.it
Subject: Re: [PATCH net-next v2] seg6: add per-route tunnel source address
Date: Fri, 13 Mar 2026 11:59:43 +0100 [thread overview]
Message-ID: <3d9d384f-d001-4293-b7d5-7a88596ffc1d@6wind.com> (raw)
In-Reply-To: <CAOY2Bqx6jjBc5FCoRg+64v2L17bBsaAE8sy7P4JCwVXc+1n7_Q@mail.gmail.com>
Le 13/03/2026 à 11:20, Justin Iurman a écrit :
> On Fri, Mar 13, 2026 at 9:47 AM Nicolas Dichtel
> <nicolas.dichtel@6wind.com> wrote:
>>
>> Le 13/03/2026 à 09:44, Justin Iurman a écrit :
>>> On Fri, Mar 13, 2026 at 2:02 AM Andrea Mayer <andrea.mayer@uniroma2.it> wrote:
>>>>
>>>> On Wed, 11 Mar 2026 16:28:45 +0100
>>>> Justin Iurman <justin.iurman@6wind.com> wrote:
>>
>
> [snip]
>
>>>> Whether to also reject link-local is debatable: ip6_forward() does
>>>> drop it, but is there a legitimate use case where a link-local tunnel
>>>> source would actually be needed?!
>>>> I'd argue we should reject link-local addresses as well.
>>>> For instance, using them as a tunnel source violates scope boundaries and
>>>> breaks ICMPv6 error reporting.
>>>
>>> IMHO, I also think we could reasonably forbid LLs.
>>
>> Why rejecting LL? It's legal to use LL as a source address of a tunnel (and
>> forwarding packets in this tunnel). Is this forbidden with srv6?
>
> Well, this is indeed legal (at least nothing prevents it), but they're
> not routable. So question is does it make sense at all? We're talking
> about two nodes on the same layer-2 link as the only valid use-case
> here. I'm not sure it makes sense, especially in the context of SRv6.
Yes, you're probably right. I'm usually uncomfortable with a configuration being
forbidden without any real problem/reason.
next prev parent reply other threads:[~2026-03-13 10:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-11 15:28 [PATCH net-next v2] seg6: add per-route tunnel source address Justin Iurman
2026-03-13 2:02 ` Andrea Mayer
2026-03-13 8:44 ` Justin Iurman
2026-03-13 9:47 ` Nicolas Dichtel
2026-03-13 10:20 ` Justin Iurman
2026-03-13 10:59 ` Nicolas Dichtel [this message]
2026-03-13 14:06 ` Justin Iurman
2026-03-14 1:09 ` Andrea Mayer
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=3d9d384f-d001-4293-b7d5-7a88596ffc1d@6wind.com \
--to=nicolas.dichtel@6wind.com \
--cc=andrea.mayer@uniroma2.it \
--cc=davem@davemloft.net \
--cc=dsahern@kernel.org \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=justin.iurman@6wind.com \
--cc=justin.iurman@gmail.com \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=stefano.salsano@uniroma2.it \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox