[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190405130449.GC6739@splinter>
Date: Fri, 5 Apr 2019 13:04:52 +0000
From: Ido Schimmel <idosch@...lanox.com>
To: David Ahern <dsahern@...nel.org>
CC: "davem@...emloft.net" <davem@...emloft.net>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Jiri Pirko <jiri@...lanox.com>, David Ahern <dsahern@...il.com>
Subject: Re: [PATCH net-next 03/18] net: Replace nhc_has_gw with nhc_gw_family
On Thu, Apr 04, 2019 at 10:49:52AM -0700, David Ahern wrote:
> From: David Ahern <dsahern@...il.com>
>
> 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 fib6_nh (used for container_of to get to route family specific data),
> and nhc_gw_family represents the address family for the gateway.
>
> Signed-off-by: David Ahern <dsahern@...il.com>
Reviewed-by: Ido Schimmel <idosch@...lanox.com>
Powered by blists - more mailing lists