[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3f8f5c39-9e46-5280-ef9f-d9b2f25ffd78@gmail.com>
Date: Sun, 7 Jan 2018 10:04:10 -0700
From: David Ahern <dsahern@...il.com>
To: Ido Schimmel <idosch@...lanox.com>, netdev@...r.kernel.org
Cc: davem@...emloft.net, roopa@...ulusnetworks.com,
nicolas.dichtel@...nd.com, weiwan@...gle.com, kafai@...com,
yoshfuji@...ux-ipv6.org, mlxsw@...lanox.com
Subject: Re: [PATCH net-next 12/18] ipv6: Teach tree walker to skip multipath
routes
On 1/7/18 3:45 AM, Ido Schimmel wrote:
> As explained in previous patch, fib6_ifdown() needs to consider the
> state of all the sibling routes when a multipath route is traversed.
>
> This is done by evaluating all the siblings when the first sibling in a
> multipath route is traversed. If the multipath route does not need to be
> flushed (e.g., not all siblings are dead), then we should just skip the
> multipath route as our work is done.
>
> Have the tree walker jump to the last sibling when it is determined that
> the multipath route needs to be skipped.
>
> Signed-off-by: Ido Schimmel <idosch@...lanox.com>
> ---
> net/ipv6/ip6_fib.c | 11 +++++++++--
> 1 file changed, 9 insertions(+), 2 deletions(-)
>
Acked-by: David Ahern <dsahern@...il.com>
Powered by blists - more mailing lists