linux_dsm_epyc7002/drivers/net/can
Alexey Khoroshilov a1c31f1d05 can: ems_usb: fix urb leaks on failure paths
There are a couple failure paths where urb leaks.
Is spare code within ems_usb_start_xmit(),
usb_free_urb() should be used to deallocate urb instead of usb_unanchor_urb().
In ems_usb_start() there is no usb_free_urb() if usb_submit_urb() fails.

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

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Acked-by: Sebastian Haas <dev@sebastianhaas.info>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2013-12-17 11:19:11 +01:00
..
c_can can: c_can: fix calculation of transmitted bytes on tx complete 2013-11-25 21:48:54 +01:00
cc770 can: cc770: use dev_get_platdata() 2013-09-21 15:43:13 +02:00
mscan can: Remove extern from function prototypes 2013-09-24 10:09:18 -04:00
sja1000 can: sja1000: fix {pre,post}_irq() handling and IRQ handler return value 2013-11-25 21:16:53 +01:00
softing Merge branch 'for-davem' of git://gitorious.org/linux-can/linux-can-next 2013-09-30 19:14:20 -04:00
usb can: ems_usb: fix urb leaks on failure paths 2013-12-17 11:19:11 +01:00
at91_can.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-10-23 16:49:34 -04:00
bfin_can.c can: bfin_can: use dev_get_platdata() 2013-09-21 15:43:13 +02:00
dev.c can: dev: sort can_changelink() by IFLA_CAN_* 2013-10-31 20:55:15 +01:00
flexcan.c can: flexcan: use correct clock as base for bit rate calculation 2013-11-26 15:39:47 +01:00
grcan.c drivers: remove unnecessary prom.h includes 2013-10-09 20:03:58 -05:00
janz-ican3.c can: janz-ican3: use dev_get_platdata() 2013-09-21 15:43:14 +02:00
Kconfig can: flexcan: remove HAVE_CAN_FLEXCAN Kconfig symbol 2013-06-03 13:13:49 +02:00
led.c net: pass info struct via netdevice notifier 2013-05-28 13:11:01 -07:00
Makefile can: add tx/rx LED trigger support 2013-01-26 16:58:59 +01:00
mcp251x.c can: mcp251x: use dev_get_platdata() 2013-09-21 15:43:14 +02:00
pch_can.c can: pch_can: remove unnecessary pci_set_drvdata() 2013-09-21 15:43:16 +02:00
slcan.c slcan: rewrite of slc_bump and slc_encaps 2013-09-20 15:38:27 -04:00
ti_hecc.c can: ti_hecc: remove priv->can.do_get_state() callback 2013-10-31 20:55:16 +01:00
vcan.c sections: fix section conflicts in drivers/net 2012-10-06 03:04:42 +09:00