diff options
author | David Ahern <dsahern@gmail.com> | 2017-05-21 10:12:02 -0600 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-22 12:12:19 -0400 |
commit | 6d8422a175ccf2846d9460ed2b6228fe0b12c243 (patch) | |
tree | 896ba9e5cc55020a080c2253a2152cb99431a885 /net/ipv4/fib_trie.c | |
parent | 863483c970e968efd6a119a2118f57977d04cefe (diff) | |
download | op-kernel-dev-6d8422a175ccf2846d9460ed2b6228fe0b12c243.zip op-kernel-dev-6d8422a175ccf2846d9460ed2b6228fe0b12c243.tar.gz |
net: ipv4: Plumb extack through route add functions
Plumb extack argument down to route add functions.
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/fib_trie.c')
-rw-r--r-- | net/ipv4/fib_trie.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/fib_trie.c b/net/ipv4/fib_trie.c index 51182ff..6d0f6c79 100644 --- a/net/ipv4/fib_trie.c +++ b/net/ipv4/fib_trie.c @@ -1101,7 +1101,7 @@ static int fib_insert_alias(struct trie *t, struct key_vector *tp, /* Caller must hold RTNL. */ int fib_table_insert(struct net *net, struct fib_table *tb, - struct fib_config *cfg) + struct fib_config *cfg, struct netlink_ext_ack *extack) { enum fib_event_type event = FIB_EVENT_ENTRY_ADD; struct trie *t = (struct trie *)tb->tb_data; @@ -1125,7 +1125,7 @@ int fib_table_insert(struct net *net, struct fib_table *tb, if ((plen < KEYLENGTH) && (key << plen)) return -EINVAL; - fi = fib_create_info(cfg); + fi = fib_create_info(cfg, extack); if (IS_ERR(fi)) { err = PTR_ERR(fi); goto err; |