net: Add extack to fib_notifier_info

Add extack to fib_notifier_info and plumb through stack to
call_fib_rule_notifiers, call_fib_entry_notifiers and
call_fib6_entry_notifiers. This allows notifer handlers to
return messages to user.

Signed-off-by: David Ahern <dsahern@gmail.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David Ahern
2017-10-27 17:37:13 -07:00
committed by David S. Miller
parent 4f6265d485
commit 6c31e5a91f
4 changed files with 24 additions and 14 deletions

View File

@@ -9,6 +9,7 @@
struct fib_notifier_info {
struct net *net;
int family;
struct netlink_ext_ack *extack;
};
enum fib_event_type {