mac80211: mesh: fix two small problems
commita43816df2a1a61effcb701037bdf63621d066182
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 10 Jul 2009 09:39:26 +0000 (10 11:39 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 24 Jul 2009 19:05:10 +0000 (24 15:05 -0400)
tree33346bbbb1621dfc7966c2f4ad8b1a76f4145d18
parentec3f149017ef3fd21343b1dcec3589eec6ba5dd5
mac80211: mesh: fix two small problems

1) there's a spin_lock() that needs to be spin_lock_bh()
2) action frames of size 24 might cause an out-of-bounds
   memory access (for the 25th byte only, so no big deal)

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mesh.c
net/mac80211/mesh_hwmp.c