]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix mesh forwarding
authorJohannes Berg <johannes.berg@intel.com>
Wed, 22 Dec 2010 09:15:07 +0000 (10:15 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Dec 2010 18:36:35 +0000 (13:36 -0500)
commit980057befd120433ad4e929e70320aaa2bf37ecb
tree57f268b9553fa77f5a5337fb5be4355c63b44d1b
parentfd705ce27bbcc84f566ad2a732edc418d5b2ccfa
mac80211: fix mesh forwarding

Under memory pressure, the mac80211 mesh code
may helpfully print a message that it failed
to clone a mesh frame and then will proceed
to crash trying to use it anyway. Fix that.

Cc: stable@kernel.org [2.6.27+]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Acked-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/rx.c