[systemd-devel] [PATCH] networkd: route - allow routes without a gateway
Tom Gundersen
teg at jklm.no
Thu Nov 27 01:37:07 PST 2014
Thanks to all (the initial patch had ended up in my spam, no idea why).
Tom
On 27 Nov 2014 06:33, "Zbigniew Jędrzejewski-Szmek" <zbyszek at in.waw.pl>
wrote:
> On Mon, Nov 24, 2014 at 03:51:31PM -0800, Gavin Li wrote:
> > From: Gavin Li <git at thegavinli.com>
> >
> > For IPv6, the kernel returns EINVAL if a route is added with the
> > RTA_GATEWAY attribute set to in6addr_any (::). A route without a
> > gateway is useful in some situations, such as layer 3 tunneling
> > (sit, gre, etc.).
> >
> > This patch prevents the RTA_GATEWAY attribute from being added
> > when route.in_addr is ip6addr_any (::).
> Patch looks straightforward, even though this is not my area of
> expertise, so I went ahead and applied it.
>
> Zbyszek
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20141127/7b82af09/attachment.html>
More information about the systemd-devel
mailing list