mac80211: drop unencrypted frames in mesh fwding
authorBob Copeland <me@bobcopeland.com>
Mon, 2 Mar 2015 19:28:52 +0000 (14:28 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Apr 2015 12:02:11 +0000 (14:02 +0200)
commit58aef0a81c01a554a50d20138c71765c712f419b
tree8a4968d60c6fe99c45e045133d063a267358d707
parent1feca9723ec9b672211b9ad64d3a92fbd99d49e1
mac80211: drop unencrypted frames in mesh fwding

commit d0c22119f574b851e63360c6b8660fe9593bbc3c upstream.

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

Reported-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mac80211/rx.c