diff options
author | Jiri Pirko <jiri@mellanox.com> | 2019-10-03 12:49:30 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-04 21:10:56 +0300 |
commit | b7a595577ef3dc9add2b3e6d00869d017306bfbe (patch) | |
tree | 61f4fb043e35a7e53fea84e6114f507586c84786 /drivers/net/netdevsim/fib.c | |
parent | 3f9e5c119a47d0fce01f8524ff0aba3acca71bb9 (diff) | |
download | linux-b7a595577ef3dc9add2b3e6d00869d017306bfbe.tar.xz |
net: fib_notifier: propagate extack down to the notifier block callback
Since errors are propagated all the way up to the caller, propagate
possible extack of the caller all the way down to the notifier block
callback.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netdevsim/fib.c')
-rw-r--r-- | drivers/net/netdevsim/fib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/netdevsim/fib.c b/drivers/net/netdevsim/fib.c index 01ee9cc54605..d2aeac0f4c2c 100644 --- a/drivers/net/netdevsim/fib.c +++ b/drivers/net/netdevsim/fib.c @@ -256,7 +256,7 @@ struct nsim_fib_data *nsim_fib_create(struct devlink *devlink) data->fib_nb.notifier_call = nsim_fib_event_nb; err = register_fib_notifier(&init_net, &data->fib_nb, - nsim_fib_dump_inconsistent); + nsim_fib_dump_inconsistent, NULL); if (err) { pr_err("Failed to register fib notifier\n"); goto err_out; |