Thread (3 messages) 3 messages, 3 authors, 2020-04-07

Re: [PATCH] mac80211: fix race in ieee80211_register_hw()

flat view

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2020-04-06 15:06:38
Also in: linux-wireless, lkml, stable

On Mon, 2020-04-06 at 19:55 +0530, Krishna Chaitanya wrote:
quoted
iw phy0 interface add wlan0 type station
ip link set wlan0 up
Ah okay, got it, thanks. Very narrow window though :-) as the
alloc_ordered_workqueue
doesn't need RTNL and there is a long way to go to do if_add() from
user and setup
the driver for interrupts. 
True, I do wonder how this is hit. Maybe something with no preempt and a
uevent triggering things?
Again depends on the driver though, it
should properly handle
pending ieee80211_register_hw() with start().
It could, but it'd be really tricky. Much better to fix mac80211.

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