|
@@ -341,8 +341,8 @@ again:
|
|
rv = register_pernet_operations(first_device, ops);
|
|
rv = register_pernet_operations(first_device, ops);
|
|
if (rv < 0)
|
|
if (rv < 0)
|
|
ida_remove(&net_generic_ids, *id);
|
|
ida_remove(&net_generic_ids, *id);
|
|
- mutex_unlock(&net_mutex);
|
|
|
|
out:
|
|
out:
|
|
|
|
+ mutex_unlock(&net_mutex);
|
|
return rv;
|
|
return rv;
|
|
}
|
|
}
|
|
EXPORT_SYMBOL_GPL(register_pernet_gen_subsys);
|
|
EXPORT_SYMBOL_GPL(register_pernet_gen_subsys);
|