]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix oops on mesh PS broadcast forwarding
authorMarco Porsch <marco@cozybit.com>
Fri, 1 Mar 2013 15:01:18 +0000 (16:01 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 1 Mar 2013 15:09:41 +0000 (16:09 +0100)
commitd5876cff6fda8ae699be2b3c3436489ddf7b4b14
treeaad788e8252266b5cbeafffce5efece12f7b908b
parent53b10aa881e299bbf67d12a0ba28e3eb8b41a3e5
mac80211: fix oops on mesh PS broadcast forwarding

Introduced with e7974ea14bd2a0bedddfdc0235b2988f4c603c6b
"mac80211: fix WPA with VLAN on AP side with ps-sta".
Apparently overwrites the sdata pointer with non-valid data in
the case of mesh.
Fix this by checking for IFTYPE_AP_VLAN.

Signed-off-by: Marco Porsch <marco@cozybit.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c