Skip to content
Commit 98bd147d authored by Johannes Berg's avatar Johannes Berg
Browse files

wext: unregister_pernet_subsys() on notifier registration failure



If register_netdevice_notifier() fails (which in practice it can't
right now), we should call unregister_pernet_subsys(). Do that.

Reported-by: default avatarBen Hutchings <ben@decadent.org.uk>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 05cf8077
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment