Markus Theil
65c835ebe2
mac80211: allow rx of mesh eapol frames with default rx key
...
[ Upstream commit 0b467b63870d9c05c81456aa9bfee894ab2db3b6 ]
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] >
Signed-off-by: Sasha Levin <[email protected] >
2020-07-29 10:18:26 +02:00
..
aead_api.c
aead_api.h
aes_ccm.h
aes_cmac.c
aes_cmac.h
aes_gcm.h
aes_gmac.c
aes_gmac.h
agg-rx.c
mac80211: add missing null return check from call to ieee80211_get_sband
2019-07-31 10:51:17 +02:00
agg-tx.c
cfg.c
cfg80211: Fix radar event during another phy CAC
2020-02-05 21:22:46 +00:00
chan.c
debug.h
debugfs.c
mac80211: AMPDU handling for rekeys with Extended Key ID
2019-07-26 13:29:10 +02:00
debugfs.h
debugfs_key.c
debugfs_key.h
debugfs_netdev.c
mac80211: fix txq null pointer dereference
2019-10-01 17:56:19 +02:00
debugfs_netdev.h
debugfs_sta.c
mac80211: drop data frames without key on encrypted links
2020-04-01 11:02:01 +02:00
debugfs_sta.h
driver-ops.c
mac80211: don't warn about CW params when not using them
2019-07-20 21:40:32 +02:00
driver-ops.h
mac80211: pass the vif to cancel_remain_on_channel
2019-07-26 13:08:28 +02:00
ethtool.c
fils_aead.c
fils_aead.h
he.c
mac80211: fix possible NULL pointerderef in obss pd code
2019-08-21 10:58:32 +02:00
ht.c
mac80211: add support for the ADDBA extension element
2019-07-29 16:40:22 +02:00
ibss.c
mac80211: IBSS: send deauth when expiring inactive STAs
2019-09-11 09:33:29 +02:00
ieee80211_i.h
mac80211: IBSS: send deauth when expiring inactive STAs
2019-09-11 09:33:29 +02:00
iface.c
mac80211: allow drivers to set max MTU
2019-09-11 09:33:29 +02:00
Kconfig
Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
2019-07-08 20:57:08 -07:00
key.c
mac80211: drop data frames without key on encrypted links
2020-04-01 11:02:01 +02:00
key.h
mac80211: clear crypto tx tailroom counter upon keys enable
2019-09-11 09:33:28 +02:00
led.c
led.h
main.c
mac80211: populate debugfs only after cfg80211 init
2020-04-29 16:33:18 +02:00
Makefile
mesh.c
mac80211: fix channel switch trigger from unknown mesh peer
2020-05-02 08:48:58 +02:00
mesh.h
mac80211: implement HE support for mesh
2019-07-26 16:14:12 +02:00
mesh_hwmp.c
mac80211: mesh: fix discovery timer re-arming issue / crash
2020-06-03 08:21:30 +02:00
mesh_pathtbl.c
mesh_plink.c
mac80211: implement HE support for mesh
2019-07-26 16:14:12 +02:00
mesh_ps.c
mesh_sync.c
michael.c
michael.h
mlme.c
mac80211: add ieee80211_is_any_nullfunc()
2020-05-10 10:31:32 +02:00
ocb.c
offchannel.c
mac80211: pass the vif to cancel_remain_on_channel
2019-07-26 13:08:28 +02:00
pm.c
rate.c
mac80211: populate debugfs only after cfg80211 init
2020-04-29 16:33:18 +02:00
rate.h
mac80211: populate debugfs only after cfg80211 init
2020-04-29 16:33:18 +02:00
rc80211_minstrel.c
rc80211_minstrel.h
mac80211: minstrel_ht: improve rate probing for devices with static fallback
2019-08-21 11:10:13 +02:00
rc80211_minstrel_debugfs.c
rc80211_minstrel_ht.c
mac80211: populate debugfs only after cfg80211 init
2020-04-29 16:33:18 +02:00
rc80211_minstrel_ht.h
mac80211: minstrel_ht: improve rate probing for devices with static fallback
2019-08-21 11:10:13 +02:00
rc80211_minstrel_ht_debugfs.c
rx.c
mac80211: allow rx of mesh eapol frames with default rx key
2020-07-29 10:18:26 +02:00
scan.c
mac80211: fix scan when operating on DFS channels in ETSI domains
2019-10-07 22:10:50 +02:00
spectmgmt.c
sta_info.c
mac80211: sta_info: Add lockdep condition for RCU list usage
2020-05-10 10:31:28 +02:00
sta_info.h
mac80211: drop data frames without key on encrypted links
2020-04-01 11:02:01 +02:00
status.c
mac80211: add ieee80211_is_any_nullfunc()
2020-05-10 10:31:32 +02:00
tdls.c
tkip.c
mac80211: Fix TKIP replay protection immediately after key setup
2020-02-05 21:22:46 +00:00
tkip.h
Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
2019-07-08 20:57:08 -07:00
trace.c
trace.h
mac80211: pass the vif to cancel_remain_on_channel
2019-07-26 13:08:28 +02:00
trace_msg.h
tx.c
mac80211: add ieee80211_is_any_nullfunc()
2020-05-10 10:31:32 +02:00
util.c
mac80211: fix wrong 160/80+80 MHz setting
2020-03-05 16:43:41 +01:00
vht.c
mac80211: vht: add support VHT EXT NSS BW in parsing VHT
2019-09-11 09:13:03 +02:00
wep.c
Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
2019-07-08 20:57:08 -07:00
wep.h
Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
2019-07-08 20:57:08 -07:00
wme.c
wme.h
wpa.c
mac80211: add IEEE80211_KEY_FLAG_GENERATE_MMIE to ieee80211_key_flags
2019-07-26 16:14:12 +02:00
wpa.h