linux/drivers/net/wireless/rt2x00
Sergei Poselenov efd5d6b03b rt2800usb: Added rx packet length validity check
On our system (ARM Cortex-M3 SOC running linux-2.6.33)
frequent crashes were observed in the rt2800usb module
because of the invalid length of the received packet (3392,
46920...). This patch adds the sanity check on the packet
legth. Also, changed WARNING to ERROR in rt2x00lib_rxdone()
so that the bad packet condition would be noticed.

The fix was tested on the latest compat-wireless-3.5.1-1-snpc.

Cc: stable@vger.kernel.org
Signed-off-by: Sergei Poselenov <sposelenov@emcraft.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2012-09-05 14:53:36 -04:00
..
Kconfig rt2x00 : RT3290 chip support v4 2012-06-20 14:41:49 -04:00
Makefile
rt2x00.h rt2x00 : RT3290 chip support v4 2012-06-20 14:41:49 -04:00
rt2x00config.c mac80211: add time synchronisation with BSS for assoc 2012-07-12 12:10:46 +02:00
rt2x00crypto.c
rt2x00debug.c rt2x00: Add debugfs access for rfcsr register 2012-05-08 21:53:46 -04:00
rt2x00debug.h rt2x00: Add debugfs access for rfcsr register 2012-05-08 21:53:46 -04:00
rt2x00dev.c rt2800usb: Added rx packet length validity check 2012-09-05 14:53:36 -04:00
rt2x00dump.h
rt2x00firmware.c
rt2x00leds.c rt2x00: increase led's name buffer length 2012-04-09 16:09:34 -04:00
rt2x00leds.h
rt2x00lib.h rt2x00: Use GFP_KERNEL for rx buffer allocation on USB devices 2012-04-23 15:35:29 -04:00
rt2x00link.c rt2x00:Add VCO recalibration 2012-02-27 14:05:44 -05:00
rt2x00mac.c rt2x00: claim RSN IBSS support 2012-06-06 15:18:18 -04:00
rt2x00pci.c rt2x00 : RT3290 chip support v4 2012-06-20 14:41:49 -04:00
rt2x00pci.h
rt2x00queue.c rt2x00: remove unused argument 2012-07-11 15:38:27 -04:00
rt2x00queue.h rt2x00: remove unused argument 2012-07-11 15:38:27 -04:00
rt2x00reg.h
rt2x00soc.c
rt2x00soc.h
rt2x00usb.c rt2x00: remove unused argument 2012-07-11 15:38:27 -04:00
rt2x00usb.h
rt61pci.c rt2x00: Fix rfkill polling prior to interface start. 2012-09-05 14:53:36 -04:00
rt61pci.h rt2x00: Fix rfkill polling prior to interface start. 2012-09-05 14:53:36 -04:00
rt73usb.c rt2x00: Fix rfkill polling prior to interface start. 2012-09-05 14:53:36 -04:00
rt73usb.h rt2x00: Fix rfkill polling prior to interface start. 2012-09-05 14:53:36 -04:00
rt2400pci.c rt2x00: Fix rfkill polling prior to interface start. 2012-09-05 14:53:36 -04:00
rt2400pci.h rt2x00: Fix rfkill polling prior to interface start. 2012-09-05 14:53:36 -04:00
rt2500pci.c rt2x00: Fix rfkill polling prior to interface start. 2012-09-05 14:53:36 -04:00
rt2500pci.h
rt2500usb.c rt2x00: Fix rfkill polling prior to interface start. 2012-09-05 14:53:36 -04:00
rt2500usb.h rt2x00: Fix rfkill polling prior to interface start. 2012-09-05 14:53:36 -04:00
rt2800.h rt2x00 : RT3290 chip support v4 2012-06-20 14:41:49 -04:00
rt2800lib.c rt2x00: fix voltage setting for RT3572/RT3592 2012-09-05 14:53:30 -04:00
rt2800lib.h rt2800: introduce wpdma_disable function 2012-04-13 14:32:47 -04:00
rt2800pci.c rt2x00: Fix rfkill polling prior to interface start. 2012-09-05 14:53:36 -04:00
rt2800pci.h rt2x00 : RT3290 chip support v4 2012-06-20 14:41:49 -04:00
rt2800usb.c rt2800usb: Added rx packet length validity check 2012-09-05 14:53:36 -04:00
rt2800usb.h