[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8b973337-ee87-c833-b223-b9ffbc562cc0@cumulusnetworks.com>
Date: Fri, 10 Mar 2017 09:31:45 -0700
From: David Ahern <dsa@...ulusnetworks.com>
To: Jiri Pirko <jiri@...nulli.us>, netdev@...r.kernel.org
Cc: davem@...emloft.net, idosch@...lanox.com, mlxsw@...lanox.com,
ivecera@...hat.com, kuznet@....inr.ac.ru, jmorris@...ei.org,
yoshfuji@...ux-ipv6.org, kaber@...sh.net
Subject: Re: [patch net-next 1/2] ipv4: fib: Move FIB notification code to a
separate file
On 3/10/17 12:56 AM, Jiri Pirko wrote:
> From: Ido Schimmel <idosch@...lanox.com>
>
> Most of the code concerned with the FIB notification chain currently
> resides in fib_trie.c, but this isn't really appropriate, as the FIB
> notification chain is also used for FIB rules.
>
> Therefore, it makes sense to move the common FIB notification code to a
> separate file and have it export the relevant functions, which can be
> invoked by its different users (e.g., fib_trie.c, fib_rules.c).
>
> Signed-off-by: Ido Schimmel <idosch@...lanox.com>
> Signed-off-by: Jiri Pirko <jiri@...lanox.com>
> ---
> include/net/ip_fib.h | 15 ++++++++
> net/ipv4/Makefile | 2 +-
> net/ipv4/fib_notifier.c | 86 +++++++++++++++++++++++++++++++++++++++++++
> net/ipv4/fib_rules.c | 9 +++++
> net/ipv4/fib_trie.c | 97 +------------------------------------------------
> 5 files changed, 113 insertions(+), 96 deletions(-)
> create mode 100644 net/ipv4/fib_notifier.c
>
Acked-by: David Ahern <dsa@...ulusnetworks.com>
Powered by blists - more mailing lists