android_kernel_xiaomi_sm8350/drivers/net/wireless/iwlwifi
Marcin Slusarz b6b16196b0 iwlwifi: fix oops in iwl3945_led_brightness_set
fix race between:
ieee80211_open->ieee80211_led_radio->led_trigger_event->led_set_brightness->iwl3945_led_brightness_set
(which assumes that "led->priv" is not NULL)
and
iwl3945_pci_probe->iwl3945_setup_deferred_work->(...)->iwl3945_bg_alive_start->iwl3945_alive_start->iwl3945_led_register->iwl3945_led_register_led
which sets priv field in struct iwl3945_led
after
led->led_dev.brightness_set = iwl3945_led_brightness_set;
(...)
led_classdev_register(device, &led->led_dev);

http://kerneloops.org/guilty.php?guilty=iwl3945_led_brightness_set&version=2.6.25-release&start=1671168&end=1703935&class=oops

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: Zhu Yi <yi.zhu@intel.com>
Cc: Reinette Chatre <reinette.chatre@intel.com>
Cc: Tomas Winkler <tomas.winkler@intel.com>
Cc: linux-wireless@vger.kernel.org
Cc: ipw3945-devel@lists.sourceforge.net
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-06-09 15:53:38 -04:00
..
iwl3945-base.c
iwl4965-base.c
iwl-3945-commands.h
iwl-3945-core.h
iwl-3945-debug.h
iwl-3945-hw.h
iwl-3945-io.h
iwl-3945-led.c iwlwifi: fix oops in iwl3945_led_brightness_set 2008-06-09 15:53:38 -04:00
iwl-3945-led.h
iwl-3945-rs.c
iwl-3945-rs.h
iwl-3945.c
iwl-3945.h
iwl-4965-commands.h
iwl-4965-hw.h
iwl-4965-rs.c
iwl-4965-rs.h
iwl-4965.c
iwl-4965.h
iwl-core.c
iwl-core.h
iwl-csr.h
iwl-debug.h
iwl-debugfs.c
iwl-eeprom.c
iwl-eeprom.h
iwl-hcmd.c
iwl-helpers.h
iwl-io.h
iwl-led.c
iwl-led.h
iwl-prph.h
iwl-rfkill.c
iwl-rfkill.h
iwl-spectrum.h
iwl-sta.c
iwl-sta.h
Kconfig
Makefile