Re: [PATCH net-next 07/18] ipv4: Add support to fib_config for IPv6 gateway

2019-04-05 Thread Ido Schimmel
On Thu, Apr 04, 2019 at 10:49:56AM -0700, David Ahern wrote: > From: David Ahern > > Add support for an IPv6 gateway to fib_config. Since a gateway is either > IPv4 or IPv6, make it a union with fc_gw4 where fc_gw_family decides > which address is in use. Update current checks on family and gw4 t

[PATCH net-next 07/18] ipv4: Add support to fib_config for IPv6 gateway

2019-04-04 Thread David Ahern
From: David Ahern Add support for an IPv6 gateway to fib_config. Since a gateway is either IPv4 or IPv6, make it a union with fc_gw4 where fc_gw_family decides which address is in use. Update current checks on family and gw4 to handle ipv6 as well. Signed-off-by: David Ahern --- include/net/ip