We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11d49ce commit 33902b4Copy full SHA for 33902b4
drivers/net/netdevsim/fib.c
@@ -241,8 +241,8 @@ static struct pernet_operations nsim_fib_net_ops = {
241
242
void nsim_fib_exit(void)
243
{
244
- unregister_pernet_subsys(&nsim_fib_net_ops);
245
unregister_fib_notifier(&nsim_fib_nb);
+ unregister_pernet_subsys(&nsim_fib_net_ops);
246
}
247
248
int nsim_fib_init(void)
@@ -258,6 +258,7 @@ int nsim_fib_init(void)
258
err = register_fib_notifier(&nsim_fib_nb, nsim_fib_dump_inconsistent);
259
if (err < 0) {
260
pr_err("Failed to register fib notifier\n");
261
262
goto err_out;
263
264
0 commit comments