diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2013-06-18 12:33:58 (GMT) |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2013-06-19 06:56:10 (GMT) |
commit | 4afe2156eb639e563d6ef0c2706b66ea400348b2 (patch) | |
tree | b77e8cdc610ac1819fa9fb01591dfe3223263496 /net/ipv4/ip_tunnel.c | |
parent | 33be081a812098567898bbe23b581460331a986f (diff) | |
download | linux-fsl-qoriq-4afe2156eb639e563d6ef0c2706b66ea400348b2.tar.xz |
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>
Diffstat (limited to 'net/ipv4/ip_tunnel.c')
0 files changed, 0 insertions, 0 deletions