[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <fdbd8faf-8e01-3605-5925-7b9ec9d1035e@gmail.com>
Date: Mon, 16 Dec 2019 09:34:35 -0700
From: David Ahern <dsahern@...il.com>
To: Ido Schimmel <idosch@...sch.org>, netdev@...r.kernel.org
Cc: davem@...emloft.net, roopa@...ulusnetworks.com, jiri@...lanox.com,
jakub.kicinski@...ronome.com, mlxsw@...lanox.com,
Ido Schimmel <idosch@...lanox.com>
Subject: Re: [PATCH net-next v2 04/10] ipv4: Notify route if replacing
currently offloaded one
On 12/14/19 8:53 AM, Ido Schimmel wrote:
> From: Ido Schimmel <idosch@...lanox.com>
>
> When replacing a route, its replacement should only be notified in case
> the replaced route is of any interest to listeners. In other words, if
> the replaced route is currently used in the data path, which means it is
> the first route in the FIB alias list with the given {prefix, prefix
> length, table ID}.
>
> v2:
> * Convert to use fib_find_alias() instead of fib_find_first_alias()
>
> Signed-off-by: Ido Schimmel <idosch@...lanox.com>
> ---
> net/ipv4/fib_trie.c | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
Reviewed-by: David Ahern <dsahern@...il.com>
Powered by blists - more mailing lists