diff options
author | David Ahern <dsahern@gmail.com> | 2017-10-28 02:37:13 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-01 03:50:43 +0100 |
commit | 6c31e5a91fde2e718e59c8a627c56451f88be54c (patch) | |
tree | ae03e8363447f51fd2d7f9e7eb2ea654e670cff9 /include/net | |
parent | netlink: Allow ext_ack to carry non-error messages (diff) | |
download | linux-6c31e5a91fde2e718e59c8a627c56451f88be54c.tar.xz linux-6c31e5a91fde2e718e59c8a627c56451f88be54c.zip |
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>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/fib_notifier.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/fib_notifier.h b/include/net/fib_notifier.h index 54cd6b839d2f..c91ec732afd6 100644 --- a/include/net/fib_notifier.h +++ b/include/net/fib_notifier.h @@ -9,6 +9,7 @@ struct fib_notifier_info { struct net *net; int family; + struct netlink_ext_ack *extack; }; enum fib_event_type { |