]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: rtl8187se: Fix oops and memory poison caused by builtin ieee80211.
authorleandro Costantino <lcostantino@gmail.com>
Tue, 17 Feb 2009 16:16:26 +0000 (11:16 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 27 Feb 2009 20:56:23 +0000 (12:56 -0800)
commit212f92e8b163c78a4066e166f22716cec86f1c63
tree4d56827dcd1a7188c261408d2a881f58d05a52f3
parent5f4054780d931e09b334a0b55c3ac0399967ab4e
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 <lcostantino@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rtl8187se/ieee80211/ieee80211_crypt.c
drivers/staging/rtl8187se/r8180_core.c