From: Johannes Berg Date: Sat, 25 Feb 2012 20:48:08 +0000 (+0100) Subject: mac80211: fix auth/assoc data & timer leak X-Git-Tag: v3.4-rc1~177^2~108^2~39^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54e4ffb2abb3c086637cbc75a2bfe55a8ce987c8;p=pandora-kernel.git mac80211: fix auth/assoc data & timer leak When removing an interface while it is in the process of authenticating or associating, we leak the auth_data or assoc_data, and leave the timer pending. The timer then crashes the system when it fires as its data is gone. Fix this by explicitly deleting all the data when the interface is removed. This uncovered another bug -- this problem should have been detected by the sta_info_flush() warning but that function doesn't ever return non-zero, I'll fix that in a separate patch. Reported-by: Hieu Nguyen Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed