Re: [PATCH net-next 03/18] net: Replace nhc_has_gw with nhc_gw_family

2019-04-05 Thread Ido Schimmel
On Thu, Apr 04, 2019 at 10:49:52AM -0700, David Ahern wrote: > From: David Ahern > > Allow the gateway in a fib_nh_common to be from a different address > family than the outer fib{6}_nh. To that end, replace nhc_has_gw with > nhc_gw_family and update users of nhc_has_gw to check nhc_gw_family. >

[PATCH net-next 03/18] net: Replace nhc_has_gw with nhc_gw_family

2019-04-04 Thread David Ahern
From: David Ahern Allow the gateway in a fib_nh_common to be from a different address family than the outer fib{6}_nh. To that end, replace nhc_has_gw with nhc_gw_family and update users of nhc_has_gw to check nhc_gw_family. Now nhc_family is used to know if the nh_common is part of a fib_nh or f