Thread (2 messages) 2 messages, 2 authors, 2014-10-29

Re: [PATCH] mac80211_hwsim: release driver when ieee80211_register_hw fails

From: Junjie Mao <hidden>
Date: 2014-10-29 10:23:14
Also in: linux-wireless, lkml

Possibly related (same subject, not in this thread)

I was not familiar with the acquiring/releasing API either, until I met
with this bug...

Perhaps we can use static checkers to avoid these issues as early as
possible. Any suggestions?

Best Regards
Junjie Mao

Martin Pitt [off-list ref] writes:
Acked-By: Martin Pitt <redacted>

Hello Junjie,

Junjie Mao [2014-10-28  9:31 +0800]:
quoted
The driver is not released when ieee80211_register_hw fails in
mac80211_hwsim_create_radio, leading to the access to the unregistered (and
possibly freed) device in platform_driver_unregister:
Many thanks for fixing this! Sorry about that, I don't know these bits
very well.

Martin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help