diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/mac80211/mesh_pathtbl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/mesh_pathtbl.c b/net/mac80211/mesh_pathtbl.c index bfd7638e235f..385f9fc526db 100644 --- a/net/mac80211/mesh_pathtbl.c +++ b/net/mac80211/mesh_pathtbl.c | |||
@@ -654,12 +654,12 @@ int mesh_path_del(u8 *addr, struct ieee80211_sub_if_data *sdata) | |||
654 | mpath = node->mpath; | 654 | mpath = node->mpath; |
655 | if (mpath->sdata == sdata && | 655 | if (mpath->sdata == sdata && |
656 | memcmp(addr, mpath->dst, ETH_ALEN) == 0) { | 656 | memcmp(addr, mpath->dst, ETH_ALEN) == 0) { |
657 | spin_lock(&mpath->state_lock); | 657 | spin_lock_bh(&mpath->state_lock); |
658 | mpath->flags |= MESH_PATH_RESOLVING; | 658 | mpath->flags |= MESH_PATH_RESOLVING; |
659 | hlist_del_rcu(&node->list); | 659 | hlist_del_rcu(&node->list); |
660 | call_rcu(&node->rcu, mesh_path_node_reclaim); | 660 | call_rcu(&node->rcu, mesh_path_node_reclaim); |
661 | atomic_dec(&tbl->entries); | 661 | atomic_dec(&tbl->entries); |
662 | spin_unlock(&mpath->state_lock); | 662 | spin_unlock_bh(&mpath->state_lock); |
663 | goto enddel; | 663 | goto enddel; |
664 | } | 664 | } |
665 | } | 665 | } |