Files
Daniel Drake c506474fed cfg80211: process pending events when unregistering net device
commit 1f6fc43e62 upstream.

libertas currently calls cfg80211_disconnected() when it is being
brought down. This causes an event to be allocated, but since the
wdev is already removed from the rdev by the time that the event
processing work executes, the event is never processed or freed.
http://article.gmane.org/gmane.linux.kernel.wireless.general/95666

Fix this leak, and other possible situations, by processing the event
queue when a device is being unregistered. Thanks to Johannes Berg for
the suggestion.

Signed-off-by: Daniel Drake <dsd@laptop.org>
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2012-08-19 18:15:30 +01:00
..
2012-07-25 04:11:40 +01:00
2012-07-25 04:11:40 +01:00
2012-08-19 18:15:28 +01:00
2012-04-02 09:53:08 -07:00
2012-08-19 18:15:21 +01:00
2012-06-10 14:42:03 +01:00