Subject: Re: [patch net-next RFC 1/2] fib: introduce fib notification infrastructure

From: Jiri Pirko <[email-masked]>
Date: Wed, 7 Sep 2016 10:03:02 +0200

Tue, Sep 06, 2016 at 05:13:36PM CEST, [email-masked] wrote:
>On 9/6/16 6:01 AM, Jiri Pirko wrote:
>> From: Jiri Pirko <[email-masked]>
>> 
>> This allows to pass information about added/deleted fib entries to
>> whoever is interested. This is done in a very similar way as devinet
>> notifies address additions/removals.
>> 
>> Signed-off-by: Jiri Pirko <[email-masked]>
>> ---
>>  include/net/ip_fib.h | 19 +++++++++++++++++++
>>  net/ipv4/fib_trie.c  | 43 +++++++++++++++++++++++++++++++++++++++++++
>>  2 files changed, 62 insertions(+)
>
>Do you intend for this set of notifiers to work with policy routing (FIB rules) as well?

Yes, plan is to put the notifier calls before notify_rule_change. Would
probably make sense to have this in one notifier, only several event
types. Not sure.