diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2018-10-05 23:22:06 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2018-11-09 08:47:37 +0100 |
commit | 05cc09de4c017663a217630682041066f2f9a5cd (patch) | |
tree | 242a2b260203d36297d777b14224632f78b1c65a /net/mac80211 | |
parent | ea53abfab960909d622ca37bcfb8e1c5378d21cc (diff) |
mac80211_hwsim: fix module init error paths for netlink
There is no unregister netlink notifier and family on error paths
in init_mac80211_hwsim(). Also there is an error path where
hwsim_class is not destroyed.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Fixes: 62759361eb49 ("mac80211-hwsim: Provide multicast event for HWSIM_CMD_NEW_RADIO")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions