linux_dsm_epyc7002/drivers/net/wireless/orinoco
Alexey Khoroshilov 1105a13bb8 orinoco_usb: fix memory leak in ezusb_access_ltv() when device disconnected
If "device is disconnected" check occurs to be true in ezusb_access_ltv(),
it just return -ENODEV. But that means request_context is leaked since
there are no any references to it anymore.
The patch adds a call to ezusb_request_context_put() before return.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2013-06-14 13:37:16 -04:00
..
airport.c orinoco: minor fixes for problems found by checkpatch.pl 2011-07-15 13:38:31 -04:00
cfg.c cfg80211: pass a channel definition struct 2012-11-26 12:42:58 +01:00
cfg.h
fw.c wireless, orinoco: release_firmware() tests for NULL, remove explicit tests before calls 2012-04-12 15:06:08 -04:00
fw.h orinoco: minor fixes for problems found by checkpatch.pl 2011-07-15 13:38:31 -04:00
hermes_dld.c orinoco: minor fixes for problems found by checkpatch.pl 2011-07-15 13:38:31 -04:00
hermes_dld.h orinoco: minor fixes for problems found by checkpatch.pl 2011-07-15 13:38:31 -04:00
hermes_rid.h
hermes.c orinoco: minor fixes for problems found by checkpatch.pl 2011-07-15 13:38:31 -04:00
hermes.h orinoco: minor fixes for problems found by checkpatch.pl 2011-07-15 13:38:31 -04:00
hw.c orinoco: minor fixes for problems found by checkpatch.pl 2011-07-15 13:38:31 -04:00
hw.h orinoco: minor fixes for problems found by checkpatch.pl 2011-07-15 13:38:31 -04:00
Kconfig
main.c wireless: Remove unnecessary alloc/OOM messages, alloc cleanups 2013-02-04 13:22:34 -05:00
main.h wireless: drivers: make use of WLAN_EID_VENDOR_SPECIFIC 2012-10-18 09:01:54 +02:00
Makefile
mic.c orinoco: minor fixes for problems found by checkpatch.pl 2011-07-15 13:38:31 -04:00
mic.h
orinoco_cs.c drivers/net: use module_pcmcia_driver() in pcmcia drivers 2013-03-15 12:27:33 -07:00
orinoco_nortel.c orinoco: remove __dev* attributes 2012-12-06 15:04:58 -05:00
orinoco_pci.c orinoco: remove __dev* attributes 2012-12-06 15:04:58 -05:00
orinoco_pci.h
orinoco_plx.c orinoco: remove __dev* attributes 2012-12-06 15:04:58 -05:00
orinoco_tmd.c orinoco: remove __dev* attributes 2012-12-06 15:04:58 -05:00
orinoco_usb.c orinoco_usb: fix memory leak in ezusb_access_ltv() when device disconnected 2013-06-14 13:37:16 -04:00
orinoco.h orinoco: minor fixes for problems found by checkpatch.pl 2011-07-15 13:38:31 -04:00
scan.c cfg80211: pass wiphy to cfg80211_ref_bss/put_bss 2013-02-11 18:44:52 +01:00
scan.h orinoco: abort scan on interface down 2010-11-30 13:23:05 -05:00
spectrum_cs.c drivers/net: use module_pcmcia_driver() in pcmcia drivers 2013-03-15 12:27:33 -07:00
wext.c orinoco: use is_zero_ether_addr() instead of memcmp() 2012-09-07 15:03:37 -04:00
wext.h