On 3/10/17 12:56 AM, Jiri Pirko wrote: > From: Ido Schimmel <ido...@mellanox.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 <ido...@mellanox.com> > Signed-off-by: Jiri Pirko <j...@mellanox.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 <d...@cumulusnetworks.com>