Thread (21 messages) 21 messages, 3 authors, 2012-07-04

Re: [PATCH 06/13] cfg80211: track monitor interfaces count

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2012-07-04 11:13:01

Hi Michal,

A few people noticed that these patches cause deadlocks. I think the
reason is that it's not allowed to lock the device here:
 	case NETDEV_DOWN:
 		dev_hold(dev);
+		cfg80211_lock_rdev(rdev);
This causes a deadlock since the interface is set down inside mac80211
when inside a handler from cfg80211 already, or so.

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