linux/drivers/net/can/usb
Alexey Khoroshilov f37d6e701f can: pcan_usb_core: fix memory leak on failure paths in peak_usb_start()
Tx and rx urbs are not deallocated if something goes wrong in peak_usb_start().
The patch fixes error handling to deallocate all the resources.

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

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Acked-by: Stephane Grosjean <s.grosjean@peak-system.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2013-09-20 20:58:21 +02:00
..
peak_usb can: pcan_usb_core: fix memory leak on failure paths in peak_usb_start() 2013-09-20 20:58:21 +02:00
ems_usb.c drivers: net: Remove remaining alloc/OOM messages 2013-02-08 17:44:39 -05:00
esd_usb2.c net: can: esd_usb2: check index of array before accessing 2013-07-19 14:55:13 +02:00
Kconfig can: usb_8dev: Add support for USB2CAN interface from 8 devices 2013-01-26 16:58:58 +01:00
kvaser_usb.c net: can: kvaser_usb: fix reception on "USBcan Pro" and "USBcan R" type hardware. 2013-06-03 14:02:56 +02:00
Makefile can: usb_8dev: Add support for USB2CAN interface from 8 devices 2013-01-26 16:58:58 +01:00
usb_8dev.c can: usb_8dev: fix urb leak on failure path in usb_8dev_start() 2013-07-19 14:55:14 +02:00