mirror of
https://github.com/outbackdingo/openwrt.git
synced 2026-02-11 05:00:33 +00:00
swconfig: fix lock imbalance in unregister_switch()
Signed-off-by: Karl Beldan <karl.beldan@sagemcom.com> SVN-Revision: 21780
This commit is contained in:
@@ -886,6 +886,7 @@ unregister_switch(struct switch_dev *dev)
|
||||
swconfig_lock();
|
||||
list_del(&dev->dev_list);
|
||||
swconfig_unlock();
|
||||
spin_unlock(&dev->lock);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(unregister_switch);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user