summaryrefslogtreecommitdiffstats
path: root/include/net/fib_notifier.h
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2017-10-28 02:37:13 +0200
committerDavid S. Miller <davem@davemloft.net>2017-11-01 03:50:43 +0100
commit6c31e5a91fde2e718e59c8a627c56451f88be54c (patch)
treeae03e8363447f51fd2d7f9e7eb2ea654e670cff9 /include/net/fib_notifier.h
parentnetlink: Allow ext_ack to carry non-error messages (diff)
downloadlinux-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/fib_notifier.h')
-rw-r--r--include/net/fib_notifier.h1
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 {