Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 247634
b: refs/heads/master
c: dea4096
h: refs/heads/master
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed May 12, 2011
1 parent ae414b2 commit e2fefb2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 15 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: be0e6aa5a0c487a2a0880dda8bc70f7f1860fc39
refs/heads/master: dea4096bc41a9642039840ced91e585d04883a16
17 changes: 3 additions & 14 deletions trunk/net/mac80211/mesh_hwmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -966,20 +966,11 @@ int mesh_nexthop_lookup(struct sk_buff *skb,

void mesh_path_timer(unsigned long data)
{
struct ieee80211_sub_if_data *sdata;
struct mesh_path *mpath;

rcu_read_lock();
mpath = (struct mesh_path *) data;
mpath = rcu_dereference(mpath);
if (!mpath)
goto endmpathtimer;
sdata = mpath->sdata;
struct mesh_path *mpath = (void *) data;
struct ieee80211_sub_if_data *sdata = mpath->sdata;

if (sdata->local->quiescing) {
rcu_read_unlock();
if (sdata->local->quiescing)
return;
}

spin_lock_bh(&mpath->state_lock);
if (mpath->flags & MESH_PATH_RESOLVED ||
Expand All @@ -996,8 +987,6 @@ void mesh_path_timer(unsigned long data)
}

spin_unlock_bh(&mpath->state_lock);
endmpathtimer:
rcu_read_unlock();
}

void
Expand Down

0 comments on commit e2fefb2

Please sign in to comment.