summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorDaniel Drake <dsd@laptop.org>2012-08-02 18:41:48 +0100
committerBen Hutchings <ben@decadent.org.uk>2012-08-19 18:15:30 +0100
commitc506474fed3246e4ea1dcf86809cbd802d57e541 (patch)
treef8fab26d35b5d9071567250dba6cac34120672ac /security
parent10b371e7e08749d734ae3f9785be434c5ca7c50a (diff)
cfg80211: process pending events when unregistering net device
commit 1f6fc43e621167492ed4b7f3b4269c584c3d6ccc 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>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions