Commit ec67cea4 authored by Patrick McHardy's avatar Patrick McHardy

[VLAN]: Missing rtnl_unlock in register_vlan_device error path

Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
parent 6d85a009
......@@ -537,7 +537,7 @@ static struct net_device *register_vlan_device(const char *eth_IF_name,
out_free_unregister:
unregister_netdev(new_dev);
goto out_put_dev;
goto out_unlock;
out_free_newdev:
free_netdev(new_dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment