aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorMarkus Theil <[email protected]>2020-06-25 12:42:14 +0200
committerJohannes Berg <[email protected]>2020-06-25 12:55:45 +0200
commit0b467b63870d9c05c81456aa9bfee894ab2db3b6 (patch)
tree0b22307025551371c758f8a386b766244a845b8d /tools/perf/scripts/python/net_dropmonitor.py
parent5af7fef39d7952c0f5551afa7b821ee7b6c9dd3d (diff)
mac80211: allow rx of mesh eapol frames with default rx key
Without this patch, eapol frames cannot be received in mesh mode, when 802.1X should be used. Initially only a MGTK is defined, which is found and set as rx->key, when there are no other keys set. ieee80211_drop_unencrypted would then drop these eapol frames, as they are data frames without encryption and there exists some rx->key. Fix this by differentiating between mesh eapol frames and other data frames with existing rx->key. Allow mesh mesh eapol frames only if they are for our vif address. With this patch in-place, ieee80211_rx_h_mesh_fwding continues after the ieee80211_drop_unencrypted check and notices, that these eapol frames have to be delivered locally, as they should. Signed-off-by: Markus Theil <[email protected]> Link: https://lore.kernel.org/r/[email protected] [small code cleanups] Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions