commit | 05cc09de4c017663a217630682041066f2f9a5cd | [log] [tgz] |
---|---|---|
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | Fri Oct 05 23:22:06 2018 +0300 |
committer | Johannes Berg <johannes.berg@intel.com> | Fri Nov 09 08:47:37 2018 +0100 |
tree | 242a2b260203d36297d777b14224632f78b1c65a | |
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>