From: leandro Costantino Date: Tue, 17 Feb 2009 16:16:26 +0000 (-0500) Subject: Staging: rtl8187se: Fix oops and memory poison caused by builtin ieee80211. X-Git-Tag: v2.6.29-rc7~21^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=096c55d1de39c0de526dfeb8a68ba3b0200e5a93;p=pandora-kernel.git Staging: rtl8187se: Fix oops and memory poison caused by builtin ieee80211. when modprobe and removing rtl8187se ( just for testing, i do not have that card , and oops and a memory poison error happens on the builtin ieee80211 of that driver. I dont know if they will port it to the current ieeee80221 instead of the builtin ones, but just in case i attach a proposed fix for that problem. - Change for loop on ieee80211_crypto_deinit for list_for_each_safe to remove items. Is there an spinlock needed here? - Call ieee80211_crypto_deinit after exiting all registerd crypto protocols. Signed-off-by: Costantino Leandro Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed