]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commitb51aff057c9d0ef6c529dc25fd9f775faf7b6c63
tree57f268b9553fa77f5a5337fb5be4355c63b44d1b
parentb2b7ab22fa2e619c20917e825c0da7212ca2efc9
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