linux-samsung-r9q2/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: Merge rt2x00ht.c contents in other files. 2011-04-19 15:39:56 -04:00
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 rt2x00: Don't use queue entry as parameter when creating TX descriptor. 2011-07-07 13:20:58 -04:00
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 Fix common misspellings 2011-03-31 11:26:23 -03:00
rt2x00firmware.c rt2x00: Split rt2x00dev->flags 2011-04-19 15:39:11 -04:00
rt2x00leds.c rt2x00: increase led's name buffer length 2012-04-09 16:09:34 -04:00
rt2x00leds.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
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 rt2x00: Allow dynamic addition of PCI/USB IDs. 2011-04-19 15:39:45 -04:00
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 rt2x00: Remove STATE_RADIO_IRQ_OFF_ISR and STATE_RADIO_IRQ_ON_ISR 2011-01-31 15:06:24 -05:00
rt2x00soc.c rt2x00: Use ioremap for SoC devices instead of KSEG1ADDR. 2010-11-17 16:18:54 -05:00
rt2x00soc.h rt2x00: remove KSEG1ADDR define from rt2x00soc.h 2010-03-10 16:16:53 -05:00
rt2x00usb.c rt2x00: remove unused argument 2012-07-11 15:38:27 -04:00
rt2x00usb.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2011-05-05 13:32:35 -04:00
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 rt2x00: checkpatch.pl error fixes for rt2500pci.h 2010-11-15 13:26:15 -05:00
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 rt2x00: checkpatch.pl error fixes for rt2800usb.h 2010-11-15 13:26:23 -05:00