Re: [PATCH AUTOSEL 4.14 01/41] mac80211_hwsim: fix module init error paths for netlink

From: Kalle Valo
Date: Thu Dec 13 2018 - 04:15:35 EST

Sasha Levin <sashal@xxxxxxxxxx> writes:

> From: Alexey Khoroshilov <khoroshilov@xxxxxxxxx>
> [ Upstream commit 05cc09de4c017663a217630682041066f2f9a5cd ]
> 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 (
> Signed-off-by: Alexey Khoroshilov <khoroshilov@xxxxxxxxx>
> Fixes: 62759361eb49 ("mac80211-hwsim: Provide multicast event for HWSIM_CMD_NEW_RADIO")
> Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx>
> Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

BTW, thanks for adding "X-Patchwork-Hint: Ignore" to the headers. I
don't see this patch in patchwork and that helps me a lot :)

Kalle Valo