[systemd-devel] [PATCH] networkd: route - allow routes without a gateway
Zbigniew Jędrzejewski-Szmek
zbyszek at in.waw.pl
Wed Nov 26 21:33:36 PST 2014
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
More information about the systemd-devel
mailing list