Re: [patch net-next 07/17] ipv6: fib: Add in-kernel notifications for route add / delete

2017-07-19 Thread Ido Schimmel
On Wed, Jul 19, 2017 at 09:38:11AM -0600, David Ahern wrote: > On 7/19/17 1:02 AM, Jiri Pirko wrote: > > @@ -879,6 +891,8 @@ static int fib6_add_rt2node(struct fib6_node *fn, > > struct rt6_info *rt, > > *ins = rt; > > rt->rt6i_node = fn; > >

Re: [patch net-next 07/17] ipv6: fib: Add in-kernel notifications for route add / delete

2017-07-19 Thread David Ahern
On 7/19/17 1:02 AM, Jiri Pirko wrote: > @@ -879,6 +891,8 @@ static int fib6_add_rt2node(struct fib6_node *fn, struct > rt6_info *rt, > *ins = rt; > rt->rt6i_node = fn; > atomic_inc(>rt6i_ref); > + call_fib6_entry_notifiers(info->nl_net,

[patch net-next 07/17] ipv6: fib: Add in-kernel notifications for route add / delete

2017-07-19 Thread Jiri Pirko
From: Ido Schimmel As with IPv4, allow listeners of the FIB notification chain to receive notifications whenever a route is added, replaced or deleted. This is done by placing calls to the FIB notification chain in the two lowest level functions that end up performing these