Skip to content
Commit 05cc09de authored by Alexey Khoroshilov's avatar Alexey Khoroshilov Committed by Johannes Berg
Browse files

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: default avatarAlexey Khoroshilov <khoroshilov@ispras.ru>
Fixes: 62759361

 ("mac80211-hwsim: Provide multicast event for HWSIM_CMD_NEW_RADIO")
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent ea53abfa
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