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
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
hermes_dld.c
hermes_dld.h
hermes_rid.h
hermes.c
hermes.h
hw.c
hw.h
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
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
scan.c cfg80211: pass wiphy to cfg80211_ref_bss/put_bss 2013-02-11 18:44:52 +01:00
scan.h
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