linux-kernel-test/drivers/net/wireless/iwlwifi
Zhu Yi 29b1b2688f iwlwifi: fix use after free bug for paged rx
In the paged rx patch (4854fde2), I introduced a bug that could possibly
touch an already freed page. It is fixed by avoiding the access in this
patch. I've also added some comments so that other people touching the
code won't make the same mistake. In the future, if we cannot avoid
access the page after being handled to the upper layer, we can use
get_page/put_page to handle it. For now, it's just not necessary.

It also fixed a debug message print bug reported by Stanislaw Gruszka
<sgruszka@redhat.com>.

Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-10-27 16:50:01 -04:00
..
iwl3945-base.c iwlwifi: fix use after free bug for paged rx 2009-10-27 16:50:01 -04:00
iwl-1000.c iwlwifi: consolidate apm_init() functions 2009-10-27 16:49:59 -04:00
iwl-3945-fh.h
iwl-3945-hw.h iwlwifi: remove duplicated/unused definition 2009-10-27 16:47:58 -04:00
iwl-3945-led.c iwlwifi: LED cleanup 2009-10-07 16:39:45 -04:00
iwl-3945-led.h iwlwifi: LED cleanup 2009-10-07 16:39:45 -04:00
iwl-3945-rs.c iwlwifi: use %pM for formatted MAC addresses 2009-10-07 16:33:51 -04:00
iwl-3945.c iwlwifi: fix use after free bug for paged rx 2009-10-27 16:50:01 -04:00
iwl-3945.h iwlwifi: LED cleanup 2009-10-07 16:39:45 -04:00
iwl-4965-hw.h iwlwifi: remove duplicated/unused definition 2009-10-27 16:47:58 -04:00
iwl-4965.c iwlwifi: specify the valid tx/rx chain in device config structure 2009-10-27 16:50:00 -04:00
iwl-5000-hw.h
iwl-5000.c iwlwifi: consolidate apm_init() functions 2009-10-27 16:49:59 -04:00
iwl-6000-hw.h
iwl-6000.c iwlwifi: consolidate apm_init() functions 2009-10-27 16:49:59 -04:00
iwl-agn-led.c iwlwifi: LED cleanup 2009-10-07 16:39:45 -04:00
iwl-agn-led.h iwlwifi: LED cleanup 2009-10-07 16:39:45 -04:00
iwl-agn-rs.c iwlagn: store station rate scale information in mac80211 station structure 2009-10-27 16:48:33 -04:00
iwl-agn-rs.h iwlwifi: move rate scaling structures to header file 2009-10-27 16:48:32 -04:00
iwl-agn.c iwlwifi: fix use after free bug for paged rx 2009-10-27 16:50:01 -04:00
iwl-calib.c iwlwifi: additional items in sensitivity range table 2009-10-27 16:47:58 -04:00
iwl-calib.h
iwl-commands.h iwlwifi: update bt co-exit configuration parameter 2009-10-27 16:49:59 -04:00
iwl-core.c iwlwifi: update bt co-exit configuration parameter 2009-10-27 16:49:59 -04:00
iwl-core.h iwlwifi: consolidate apm_init() functions 2009-10-27 16:49:59 -04:00
iwl-csr.h iwlwifi: set auto clock gate disable bit for 6x00/6x50 series 2009-10-27 16:48:33 -04:00
iwl-debug.h iwlwifi: show current power save status reported by uCode 2009-10-27 16:48:31 -04:00
iwl-debugfs.c iwlwifi: rework for static power save 2009-10-27 16:48:34 -04:00
iwl-dev.h iwlwifi: consolidate apm_init() functions 2009-10-27 16:49:59 -04:00
iwl-devtrace.c iwlwifi: device tracing 2009-10-07 16:39:44 -04:00
iwl-devtrace.h iwlwifi: device tracing 2009-10-07 16:39:44 -04:00
iwl-eeprom.c iwlwifi: set auto clock gate disable bit for 6x00/6x50 series 2009-10-27 16:48:33 -04:00
iwl-eeprom.h iwlwifi: identify eeprom version for 6x50 series NIC 2009-10-27 16:48:31 -04:00
iwl-fh.h
iwl-hcmd.c iwlwifi: add missing commands to syslog messages 2009-10-27 16:49:58 -04:00
iwl-helpers.h
iwl-io.h iwlwifi: device tracing 2009-10-07 16:39:44 -04:00
iwl-led.c iwlwifi: LED cleanup 2009-10-07 16:39:45 -04:00
iwl-led.h iwlwifi: LED cleanup 2009-10-07 16:39:45 -04:00
iwl-power.c iwlwifi: rework for static power save 2009-10-27 16:48:34 -04:00
iwl-power.h iwlwifi: rework for static power save 2009-10-27 16:48:34 -04:00
iwl-prph.h
iwl-rx.c iwlwifi: fix use after free bug for paged rx 2009-10-27 16:50:01 -04:00
iwl-scan.c iwlwifi: use paged Rx 2009-10-27 16:48:06 -04:00
iwl-spectrum.c iwlwifi: use paged Rx 2009-10-27 16:48:06 -04:00
iwl-spectrum.h
iwl-sta.c iwlwifi: use paged Rx 2009-10-27 16:48:06 -04:00
iwl-sta.h
iwl-tx.c iwlwifi: use paged Rx 2009-10-27 16:48:06 -04:00
Kconfig iwlwifi: LED cleanup 2009-10-07 16:39:45 -04:00
Makefile iwlwifi: LED cleanup 2009-10-07 16:39:45 -04:00