]> git.karo-electronics.de Git - karo-tx-linux.git/commit
wireless: drop invalid mesh address extension frames
authorJohannes Berg <johannes.berg@intel.com>
Thu, 25 Oct 2012 19:51:59 +0000 (21:51 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Nov 2012 21:15:56 +0000 (13:15 -0800)
commit2404ce30fd4e4c46d3c3869093a5987c0d56fee6
tree4725767f550e260a7f7045332282365587fb9211
parent91721d4a83437f183d29ae6397a3934fcfa28436
wireless: drop invalid mesh address extension frames

commit 7dd111e8ee10cc6816669eabcad3334447673236 upstream.

The mesh header can have address extension by a 4th
or a 5th and 6th address, but never both. Drop such
frames in 802.11 -> 802.3 conversion along with any
frames that have the wrong extension.

Reviewed-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/wireless/util.c