linux/drivers/net/can
Marc Kleine-Budde 4afe2156eb can: usb_8dev: unregister netdev before free()ing
The usb_8dev hardware has problems on some xhci USB hosts. The driver fails to
read the firmware revision in the probe function. This leads to the following
Oops:

    [ 3356.635912] kernel BUG at net/core/dev.c:5701!

The driver tries to free the netdev, which has already been registered, without
unregistering it.

This patch fixes the problem by unregistering the netdev in the error path.

Reported-by: Michael Olbrich <m.olbrich@pengutronix.de>
Reviewed-by: Bernd Krumboeck <krumboeck@universalnet.at>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2013-06-19 08:56:10 +02:00
..
c_can
cc770
mscan
sja1000 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2013-05-01 14:08:52 -07:00
softing FIX: softingcs conversion to module_pcmcia_driver macro 2013-03-18 17:53:34 -07:00
usb can: usb_8dev: unregister netdev before free()ing 2013-06-19 08:56:10 +02:00
Kconfig can: Kconfig: CAN_AT91 depends on ARM 2013-03-27 13:07:08 +01:00
Makefile
at91_can.c can: at91_can: add dt support 2013-03-27 13:07:08 +01:00
bfin_can.c can: bfin_can: declare locally used functions static 2013-03-27 13:07:10 +01:00
dev.c
flexcan.c
grcan.c
janz-ican3.c
led.c
mcp251x.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-04-22 20:32:51 -04:00
pch_can.c
slcan.c
ti_hecc.c
vcan.c