freebsd-dev/sys/dev/iwm
Mark Johnston dda0c86204 iwm: Drain callouts after stopping the device during detach.
Otherwise there is a window where they may be rescheduled.  This
typically manifested as a page fault shortly after unloading if_iwm.ko.
Close the race by draining callouts after calling iwm_stop_device(),
which is also what Dragonfly does.

Change whitespace to reduce gratuitous diffs with Dragonfly.

Reported and tested by:	seanc
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
2019-07-03 21:05:40 +00:00
..
if_iwm_7000.c iwm(4): use correct channel list source for Intel 3168 2019-03-11 08:30:29 +00:00
if_iwm_8000.c Add support for Intel 8265 WiFi 2017-10-09 15:48:56 +00:00
if_iwm_binding.c [iwm] Move Smart Fifo handling into if_iwm_sf.c, sync with Linux iwlwifi. 2017-06-04 21:05:58 +00:00
if_iwm_binding.h [if_iwm] Partly sync if_iwm_binding.c to Linux iwlwifi code. 2017-05-12 05:19:08 +00:00
if_iwm_config.h iwm(4): use correct channel list source for Intel 3168 2019-03-11 08:30:29 +00:00
if_iwm_constants.h [iwm] Add basic powermanagement support via ifconfig wlan0 powersave. 2017-05-09 04:15:07 +00:00
if_iwm_debug.h iwm - Improve firmware Time Event handling. 2019-01-24 03:47:04 +00:00
if_iwm_fw.c iwm - Reduce gratuitous differences with Linux iwlwifi in struct naming. 2019-01-24 03:43:45 +00:00
if_iwm_fw.h iwm - Reduce gratuitous differences with Linux iwlwifi in struct naming. 2019-01-24 03:43:45 +00:00
if_iwm_led.c iwm - Fix race during detach, where a callout is left after driver is gone. 2019-01-24 03:49:11 +00:00
if_iwm_led.h
if_iwm_mac_ctxt.c iwm - Track firmware state better, and improve handling in iwm_newstate(). 2019-01-24 03:45:55 +00:00
if_iwm_mac_ctxt.h [iwm] Properly implement iwm_wme_update callback function. 2017-05-12 05:50:38 +00:00
if_iwm_notif_wait.c Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
if_iwm_notif_wait.h
if_iwm_pcie_trans.c if_iwm - Configure the PCIe LTR, fix PCI express capability accesses. 2019-01-24 03:44:48 +00:00
if_iwm_pcie_trans.h
if_iwm_phy_ctxt.c [iwm] Allow listening on both chains/atennas to get diversity. 2017-05-09 05:31:38 +00:00
if_iwm_phy_ctxt.h
if_iwm_phy_db.c iwm - Reduce gratuitous differences with Linux iwlwifi in struct naming. 2019-01-24 03:43:45 +00:00
if_iwm_phy_db.h
if_iwm_power.c [iwm] Make powersaving more similar to Linux iwlwifi behaviour. 2017-05-12 06:31:57 +00:00
if_iwm_power.h [iwm] Switch arguments from iwm_node* to iwm_vap* in if_iwm_power.c. 2017-05-12 06:30:06 +00:00
if_iwm_scan.c iwm - Reduce gratuitous differences with Linux iwlwifi in struct naming. 2019-01-24 03:43:45 +00:00
if_iwm_scan.h
if_iwm_sf.c [iwm] Set correct state in smart-fifo configuration. 2017-06-04 21:12:11 +00:00
if_iwm_sf.h [iwm] Move Smart Fifo handling into if_iwm_sf.c, sync with Linux iwlwifi. 2017-06-04 21:05:58 +00:00
if_iwm_sta.c iwm - Track firmware state better, and improve handling in iwm_newstate(). 2019-01-24 03:45:55 +00:00
if_iwm_sta.h [iwm] Adjust if_iwm_sta.h prototypes, don't pass iwm_node to rm_sta(). 2017-05-12 06:33:07 +00:00
if_iwm_time_event.c iwm - Clear Time Event active state, when receiving End Notification. 2019-01-24 03:47:47 +00:00
if_iwm_time_event.h iwm - Clear Time Event active state, when receiving End Notification. 2019-01-24 03:47:47 +00:00
if_iwm_util.c [iwm] Add iwm_mvm_send_lq_cmd() from Linux iwlwifi to if_iwm_util.c. 2017-07-26 05:51:31 +00:00
if_iwm_util.h [iwm] Add iwm_mvm_send_lq_cmd() from Linux iwlwifi to if_iwm_util.c. 2017-07-26 05:51:31 +00:00
if_iwm.c iwm: Drain callouts after stopping the device during detach. 2019-07-03 21:05:40 +00:00
if_iwmreg.h iwm(4): use correct channel list source for Intel 3168 2019-03-11 08:30:29 +00:00
if_iwmvar.h Fix ieee80211_radiotap(9) usage in wireless drivers: 2019-03-11 01:27:01 +00:00