[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <56AB5CB9.8040103@stressinduktion.org>
Date: Fri, 29 Jan 2016 13:36:09 +0100
From: Hannes Frederic Sowa <hannes@...essinduktion.org>
To: Paolo Abeni <pabeni@...hat.com>, netdev@...r.kernel.org
Cc: "David S. Miller" <davem@...emloft.net>,
David Ahern <dsa@...ulusnetworks.com>,
Hajime Tazaki <thehajime@...il.com>, lucien.xin@...il.com,
Marcelo Ricardo Leitner <marcelo.leitner@...il.com>,
YOSHIFUJI Hideaki <yoshfuji@...ux-ipv6.org>
Subject: Re: [PATCH net v2 0/2] pv6: fix sticky pktinfo behaviour
On 29.01.2016 12:30, Paolo Abeni wrote:
> The kernel has never enforced the egress interface specified
> via the sticky pktinfo, except briefly between the commits
> 741a11d9e410 ("net: ipv6: Add RT6_LOOKUP_F_IFACE flag if oif is set")
> and
> d46a9d678e4c ("net: ipv6: Dont add RT6_LOOKUP_F_IFACE flag if saddr set"),
> but the ping6 tools was unaffected up to iputils-20100214,
> since before it used SO_BINDTODEVICE to enforce the egress
> interface.
I think because of the bad situation in terms of uapi and that recently
behavior switched multiple times in kernel and iputils, enforcing the
outgoing interface seems to be the right thing to do for me.
Also it matches expected behavior by ping6. Treating the interface as
enforced is from a standards PoV the correct thing to do.
Thanks,
Hannes
Powered by blists - more mailing lists