In order to support 802.1X in mesh mode, userspace should be able to rx and tx eapol frames, after an initial MPM, before a second AMPE. Some checks regarding mesh forwarding were conflicting with this. Therefore this little series adds some checks for control port frames and disables mesh path lookups on the tx side or drop of unencrypted frames on the rx side. v3: continue with previous drop check, if eapol check fails v2: fixes for rx path with packet sockets Markus Theil (2): mac80211: skip mpath lookup also for control port tx mac80211: allow rx of mesh eapol frames with default rx key net/mac80211/rx.c | 26 ++++++++++++++++++++++++++ net/mac80211/tx.c | 13 ++++++++++--- 2 files changed, 36 insertions(+), 3 deletions(-) -- 2.27.0