android_kernel_xiaomi_sm8350/drivers/net/wireless/iwlwifi
Zhu Yi 73e1a65d3c iwlwifi: remove CMD_WANT_SKB flag if send_cmd_sync failure
In function iwl_send_cmd_sync(), if the flag CMD_WANT_SKB is set but
we are not provided with a valid SKB (cmd->meta.u.skb == NULL), we need
to remove the CMD_WANT_SKB flag from the TX cmd queue. Otherwise in case
the cmd comes in later, it will possibly set an invalid address. Thus
it causes an invalid memory access.

This fixed the bug http://bugzilla.kernel.org/show_bug.cgi?id=11326.

Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-01-16 17:08:23 -05:00
..
iwl3945-base.c iwlwifi: remove CMD_WANT_SKB flag if send_cmd_sync failure 2009-01-16 17:08:23 -05:00
iwl-3945-commands.h
iwl-3945-core.h
iwl-3945-debug.h
iwl-3945-hw.h
iwl-3945-io.h
iwl-3945-led.c
iwl-3945-led.h
iwl-3945-rs.c
iwl-3945-rs.h
iwl-3945.c iwl3945: fix "‘power_idx’ may be used uninitialized" warning 2009-01-13 10:25:45 -05:00
iwl-3945.h
iwl-4965-hw.h
iwl-4965.c iwlwifi: remove useless goto 2008-12-19 15:23:38 -05:00
iwl-5000-hw.h
iwl-5000.c iwlwifi: remove useless goto 2008-12-19 15:23:38 -05:00
iwl-agn-hcmd-check.c
iwl-agn-rs.c
iwl-agn-rs.h
iwl-agn.c iwlwifi: indicate txpower is off in sysfs 2008-12-19 15:23:42 -05:00
iwl-calib.c
iwl-calib.h
iwl-commands.h iwlwifi: Fix typo in iwl-commands.h for CCK rate bit range. 2009-01-12 14:24:53 -05:00
iwl-core.c
iwl-core.h iwlwifi: use type uint for module param debug 2008-12-19 15:23:36 -05:00
iwl-csr.h
iwl-debug.h iwlwifi: update comments on the debug interface 2008-12-19 15:23:35 -05:00
iwl-debugfs.c
iwl-dev.h
iwl-eeprom.c
iwl-eeprom.h
iwl-fh.h
iwl-hcmd.c iwlwifi: remove CMD_WANT_SKB flag if send_cmd_sync failure 2009-01-16 17:08:23 -05:00
iwl-helpers.h
iwl-io.h iwlwifi: use meaningful vars in _iwl_poll_bit() 2008-12-19 15:23:39 -05:00
iwl-led.c iwlwifi: add line feed to printk 2008-12-19 15:23:33 -05:00
iwl-led.h
iwl-power.c
iwl-power.h
iwl-prph.h
iwl-rfkill.c
iwl-rfkill.h
iwl-rx.c iwlwifi: use GFP_KERNEL to allocate Rx SKB memory 2008-12-19 15:23:41 -05:00
iwl-scan.c
iwl-spectrum.c
iwl-spectrum.h
iwl-sta.c
iwl-sta.h
iwl-tx.c iwlwifi: iwl-tx.c cleanup (remove unused parameter and unused local variable). 2008-12-19 15:23:54 -05:00
Kconfig
Makefile