Files
linux/drivers
Alexey Khoroshilov 28bbe10042 ieee802154: fix error handling in ieee802154fake_probe()
[ Upstream commit 8c2dd54485 ]

In case of any failure ieee802154fake_probe() just calls unregister_netdev().
But it does not look safe to unregister netdevice before it was registered.

The patch implements straightforward resource deallocation in case of
failure in ieee802154fake_probe().

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

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-12-06 15:55:34 -08:00
..
2014-11-14 09:00:13 -08:00
2014-11-14 09:00:01 -08:00
2014-04-14 06:50:04 -07:00
2014-07-31 12:52:56 -07:00
2014-08-07 14:52:37 -07:00
2014-01-15 14:51:22 -08:00
2014-03-04 07:55:47 -08:00
2014-11-14 08:59:52 -08:00