]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
nl80211: Make nl80211_send_mlme_event() atomic
authorJouni Malinen <j@w1.fi>
Sat, 18 Apr 2009 18:53:15 +0000 (21:53 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 20 Apr 2009 20:36:26 +0000 (16:36 -0400)
commitd91c01c757bd9659ac10549504586fae610265a4
tree17bfe2494a8798f4902892ac1854f301306e5d5f
parente10a9dfc35ae6bd62bbb83df08297ea06b54d9ce
nl80211: Make nl80211_send_mlme_event() atomic

One of the code paths sending deauth/disassoc events ends up calling
this function with rcu_read_lock held, so we must use GFP_ATOMIC in
allocation routines.

Reported-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Jouni Malinen <j@w1.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/nl80211.c