diff --git a/net/dcb/dcbnl.c b/net/dcb/dcbnl.c index 21962c068d6b..1ceeba2429f7 100644 --- a/net/dcb/dcbnl.c +++ b/net/dcb/dcbnl.c @@ -2058,7 +2058,7 @@ static void dcbnl_flush_dev(struct net_device *dev) { struct dcb_app_type *itr, *tmp; - spin_lock(&dcb_lock); + spin_lock_bh(&dcb_lock); list_for_each_entry_safe(itr, tmp, &dcb_app_list, list) { if (itr->ifindex == dev->ifindex) { @@ -2067,7 +2067,7 @@ static void dcbnl_flush_dev(struct net_device *dev) } } - spin_unlock(&dcb_lock); + spin_unlock_bh(&dcb_lock); } static int dcbnl_netdevice_event(struct notifier_block *nb,