linux_dsm_epyc7002/drivers/net/wireless/rt2x00
Gabor Juhos 7be081539e rt2x00: fix a possible NULL pointer dereference
The 'rt2x00lib_probe_dev' function tries to
allocate the workqueue. If the allocation
fails, 'rt2x00_lib_remove_dev' is called on
the error path. Because 'rt2x00dev->workqueue'
is NULL in this case, the 'destroy_workqueue'
call will cause a NULL pointer dereference.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2012-02-21 14:45:25 -05:00
..
Kconfig rt2x00: Enabled rt35xx device support by default. 2011-06-01 15:10:59 -04:00
Makefile
rt2x00.h rt2x00: RT3593 is also applicable to USB. 2012-01-04 14:31:46 -05:00
rt2x00config.c rt2x00: fix rmmod crash 2011-06-06 15:24:18 -04: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
rt2x00debug.h
rt2x00dev.c rt2x00: fix a possible NULL pointer dereference 2012-02-21 14:45:25 -05:00
rt2x00dump.h
rt2x00firmware.c
rt2x00leds.c
rt2x00leds.h
rt2x00lib.h rt2x00: Fix compilation without CONFIG_RT2X00_LIB_CRYPTO 2011-08-02 13:48:14 -04:00
rt2x00link.c
rt2x00mac.c rt2x00: Make use of ieee80211_free_txskb in tx path 2011-12-14 14:50:11 -05:00
rt2x00pci.c
rt2x00pci.h
rt2x00queue.c rt2x00: Add WCID to HT TX descriptor 2011-09-14 13:56:56 -04:00
rt2x00queue.h rt2x00: Add WCID to HT TX descriptor 2011-09-14 13:56:56 -04:00
rt2x00reg.h
rt2x00soc.c
rt2x00soc.h
rt2x00usb.c rt2x00usb: Zero USB padding before sending URB 2012-01-04 14:31:46 -05:00
rt2x00usb.h
rt61pci.c module_param: make bool parameters really bool (net & drivers/net) 2011-12-19 22:27:29 -05:00
rt61pci.h
rt73usb.c Merge branch 'driver-core-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core 2012-01-07 12:03:30 -08:00
rt73usb.h
rt2400pci.c Revert "rt2x00: handle spurious pci interrupts" 2011-11-22 16:36:35 -05:00
rt2400pci.h
rt2500pci.c Revert "rt2x00: handle spurious pci interrupts" 2011-11-22 16:36:35 -05:00
rt2500pci.h
rt2500usb.c Merge branch 'driver-core-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core 2012-01-07 12:03:30 -08:00
rt2500usb.h
rt2800.h rt2x00: Change RF3853 to RF3053. 2012-01-04 14:31:46 -05:00
rt2800lib.c rt2800lib: fix wrong -128dBm when signal is stronger than -12dBm 2012-02-01 15:25:59 -05:00
rt2800lib.h mac80211: pass vif param to conf_tx() callback 2011-10-03 15:22:41 -04:00
rt2800pci.c rt2800pci: fix spurious interrupts generation 2012-01-13 14:40:57 -05:00
rt2800pci.h
rt2800usb.c Merge branch 'driver-core-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core 2012-01-07 12:03:30 -08:00
rt2800usb.h