Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Fixes: 6275936 ("mac80211-hwsim: Provide multicast event for HWSIM_CMD_NEW_RADIO") Signed-off-by: Johannes Berg <[email protected]>
- Loading branch information