Files
linux/drivers/net/ieee802154
Alexander Aring 77fec8bc7a fakelb: fix schedule while atomic
commit bdca1fd9a6 upstream.

This patch changes the spinlock to mutex for the available fakelb phy
list. When holding the spinlock the ieee802154_unregister_hw is called
which holding the rtnl_mutex, in that case we get a "BUG: sleeping function
called from invalid context" error. We simple change the spinlock to
mutex which allows to hold the rtnl lock there.

Signed-off-by: Alexander Aring <aar@pengutronix.de>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-03-15 09:57:15 +08:00
..
2015-09-17 13:20:05 +02:00
2017-03-15 09:57:15 +08:00
2015-09-22 11:51:22 +02:00