Johannes Berg
1527ab7859
mac80211: always wind down STA state
...
commit dcd479e10a0510522a5d88b29b8f79ea3467d501 upstream.
When (for example) an IBSS station is pre-moved to AUTHORIZED
before it's inserted, and then the insertion fails, we don't
clean up the fast RX/TX states that might already have been
created, since we don't go through all the state transitions
again on the way down.
Do that, if it hasn't been done already, when the station is
freed. I considered only freeing the fast TX/RX state there,
but we might add more state so it's more robust to wind down
the state properly.
Note that we warn if the station was ever inserted, it should
have been properly cleaned up in that case, and the driver
will probably not like things happening out of order.
Reported-by: [email protected]
Link: https://lore.kernel.org/r/20201009141710.7223b322a955.I95bd08b9ad0e039c034927cce0b75beea38e059b@changeid
Signed-off-by: Johannes Berg <[email protected] >
Signed-off-by: Greg Kroah-Hartman <[email protected] >
2020-11-22 10:14:12 +01: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
mac80211: handle lack of sband->bitrates in rates
2020-10-29 09:58:04 +01: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
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
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
mac80211: mesh: Free pending skb when destroying a mpath
2020-08-05 09:59:48 +02:00
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: Fix radiotap header channel flag for 6GHz band
2020-10-07 08:01: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: always wind down STA state
2020-11-22 10:14:12 +01: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
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: fix use of skb payload instead of header
2020-11-18 19:20:23 +01:00
util.c
mac80211: fix wrong 160/80+80 MHz setting
2020-03-05 16:43:41 +01:00
vht.c
mac80211: do not allow bigger VHT MPDUs than the hardware supports
2020-10-07 08:01:27 +02:00
wep.c
wep.h
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