mac80211: drop unencrypted frames in mesh fwding
authorBob Copeland <me@bobcopeland.com>
Mon, 2 Mar 2015 19:28:52 +0000 (14:28 -0500)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 3 Mar 2015 08:27:28 +0000 (09:27 +0100)
commitd0c22119f574b851e63360c6b8660fe9593bbc3c
tree14e23a76459bf819913ed941f2e0c4f39ad1a118
parent9c1c98a3bb7b7593b60264b9a07e001e68b46697
mac80211: drop unencrypted frames in mesh fwding

The mesh forwarding path was not checking that data
frames were protected when running an encrypted network;
add the necessary check.

Cc: stable@vger.kernel.org
Reported-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rx.c