Re: [PATCH net-next 04/18] ipv4: Prepare rtable for IPv6 gateway

2019-04-05 Thread Ido Schimmel
On Thu, Apr 04, 2019 at 10:49:53AM -0700, David Ahern wrote: > From: David Ahern > > To allow the gateway to be either an IPv4 or IPv6 address, remove > rt_uses_gateway from rtable and replace with rt_gw_family. If > rt_gw_family is set it implies rt_uses_gateway. Rename rt_gateway > to rt_gw4 to

[PATCH net-next 04/18] ipv4: Prepare rtable for IPv6 gateway

2019-04-04 Thread David Ahern
From: David Ahern To allow the gateway to be either an IPv4 or IPv6 address, remove rt_uses_gateway from rtable and replace with rt_gw_family. If rt_gw_family is set it implies rt_uses_gateway. Rename rt_gateway to rt_gw4 to represent the IPv4 version. Signed-off-by: David Ahern --- drivers/in