mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 13:22:23 +00:00
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> |
||
---|---|---|
.. | ||
at86rf230.c | ||
cc2520.c | ||
fakehard.c | ||
fakelb.c | ||
Kconfig | ||
Makefile | ||
mrf24j40.c |