[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1479234614.8455.125.camel@edumazet-glaptop3.roam.corp.google.com>
Date: Tue, 15 Nov 2016 10:30:14 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: Alexander Duyck <alexander.h.duyck@...el.com>
Cc: netdev@...r.kernel.org, Eric Dumazet <edumazet@...gle.com>,
Jiri Pirko <jiri@...lanox.com>, davem@...emloft.net
Subject: Re: [net PATCH 1/2] ipv4: Restore fib_trie_flush_external function
and fix call ordering
On Tue, 2016-11-15 at 05:46 -0500, Alexander Duyck wrote:
> The patch that removed the FIB offload infrastructure was a bit too
> aggressive and also removed code needed to clean up us splitting the table
> if additional rules were added. Specifically the function
> fib_trie_flush_external was called at the end of a new rule being added to
> flush the foreign trie entries from the main trie.
>
> I updated the code so that we only call fib_trie_flush_external on the main
> table so that we flush the entries for local from main. This way we don't
> call it for every rule change which is what was happening previously.
>
> Fixes: 347e3b28c1ba2 ("switchdev: remove FIB offload infrastructure")
> Reported-by: Eric Dumazet <edumazet@...gle.com>
> Cc: Jiri Pirko <jiri@...lanox.com>
> Signed-off-by: Alexander Duyck <alexander.h.duyck@...el.com>
> ---
Acked-by: Eric Dumazet <edumazet@...gle.com>
Thanks for sorting this out Alex !
Powered by blists - more mailing lists