From: Eliad Peller Date: Tue, 19 Jul 2011 10:14:42 +0000 (+0300) Subject: mac80211: check sta_info_get() return value X-Git-Tag: v3.1-rc1~255^2~14^2^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a557ed3a0a4f7e36d76da137b781344f548c464;p=pandora-kernel.git mac80211: check sta_info_get() return value ieee80211_stop_rx_ba_session() was calling sta_info_get() without rcu locking, and the return value was not checked. This resulted in the following panic: [] (ieee80211_stop_rx_ba_session+0x0/0x60 [mac80211]) [] (wl1271_event_handle+0x0/0xdc8 [wl12xx]) [] (wl1271_irq+0x0/0x4a0 [wl12xx]) [] (irq_thread+0x0/0x254) [] (kthread+0x0/0x8c) Signed-off-by: Eliad Peller Reviewed-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed