[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <cd20364d-8b7d-bbc6-a962-185632cc6782@kernel.org>
Date: Tue, 30 May 2023 08:58:36 -0600
From: David Ahern <dsahern@...nel.org>
To: Benjamin Poirier <bpoirier@...dia.com>, netdev@...r.kernel.org
Cc: Shuah Khan <shuah@...nel.org>, linux-kselftest@...r.kernel.org,
Ido Schimmel <idosch@...dia.com>
Subject: Re: [PATCH net-next 2/4] nexthop: Factor out neighbor validity check
On 5/29/23 2:19 PM, Benjamin Poirier wrote:
> For legacy nexthops, there is fib_good_nh() to check the neighbor validity.
> In order to make the nexthop object code more similar to the legacy nexthop
> code, factor out the nexthop object neighbor validity check into its own
> function.
>
> Signed-off-by: Ido Schimmel <idosch@...dia.com>
> Signed-off-by: Benjamin Poirier <bpoirier@...dia.com>
> ---
> net/ipv4/nexthop.c | 29 ++++++++++++++++-------------
> 1 file changed, 16 insertions(+), 13 deletions(-)
>
Reviewed-by: David Ahern <dsahern@...nel.org>
Powered by blists - more mailing lists