mac80211: mesh locking fixes
authorJavier Cardona <javier@cozybit.com>
Tue, 9 Aug 2011 23:45:06 +0000 (16:45 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 24 Aug 2011 17:59:42 +0000 (13:59 -0400)
commita6965c44e981214c7483e020106a30a869411231
treecac9c21c2bbbced4f557c2445bd71d8b7d4e9eb1
parent86d7f9f35dcc686d57465798201e678040916979
mac80211: mesh locking fixes

mesh_queue_preq is invoked invoked from both user (work queue) and
softirq (timer) context, so the _bh version of spinlock needs to be
used. Also, the mpath->state_lock should be softirq safe as well.

Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mesh_pathtbl.c