From: John W. Linville Date: Mon, 21 Jun 2010 21:14:07 +0000 (-0400) Subject: mac80211: avoid scheduling while atomic in mesh_rx_plink_frame X-Git-Tag: v2.6.36-rc1~571^2~385^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c937019761a758f2749b1f3a032b7a91fb044753;p=pandora-kernel.git mac80211: avoid scheduling while atomic in mesh_rx_plink_frame While mesh_rx_plink_frame holds sta->lock... mesh_rx_plink_frame -> mesh_plink_inc_estab_count -> ieee80211_bss_info_change_notify ...but ieee80211_bss_info_change_notify is allowed to sleep. A driver taking advantage of that allowance can cause a scheduling while atomic bug. Similar paths exist for mesh_plink_dec_estab_count, so work around those as well. http://bugzilla.kernel.org/show_bug.cgi?id=16099 Also, correct a minor kerneldoc comment error (mismatched function names). Signed-off-by: John W. Linville Cc: stable@kernel.org --- Reading git-diff-tree failed