From: Johannes Berg Date: Wed, 12 Jan 2011 12:40:33 +0000 (+0100) Subject: mac80211: fix lockdep warning X-Git-Tag: v2.6.38-rc2~33^2~17^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=681c4d07dd5b2ce2ad9f6dbbf7841e479fbc7754;p=pandora-kernel.git mac80211: fix lockdep warning Since the introduction of the fixes for the reorder timer, mac80211 will cause lockdep warnings because lockdep confuses local->skb_queue and local->rx_skb_queue and treats their lock as the same. However, their locks are different, and are valid in different contexts (the former is used in IRQ context, the latter in BH only) and the only thing to be done is mark the former as a different lock class so that lockdep can tell the difference. Reported-by: Larry Finger Reported-by: Sujith Reported-by: Miles Lane Tested-by: Sujith Tested-by: Johannes Berg Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed