Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 265630
b: refs/heads/master
c: 86d7f9f
h: refs/heads/master
v: v3
  • Loading branch information
Javier Cardona authored and John W. Linville committed Aug 24, 2011
1 parent 38bcc42 commit f7c4dae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 7646887a5390123475fdd621620b9f270b38df98
refs/heads/master: 86d7f9f35dcc686d57465798201e678040916979
6 changes: 4 additions & 2 deletions trunk/net/mac80211/mesh_pathtbl.c
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,8 @@ static void mesh_path_node_reclaim(struct rcu_head *rp)
struct mpath_node *node = container_of(rp, struct mpath_node, rcu);
struct ieee80211_sub_if_data *sdata = node->mpath->sdata;

del_timer_sync(&node->mpath->timer);
if (node->mpath->timer.function)
del_timer_sync(&node->mpath->timer);
atomic_dec(&sdata->u.mesh.mpaths);
kfree(node->mpath);
kfree(node);
Expand Down Expand Up @@ -768,7 +769,8 @@ static void mesh_path_node_free(struct hlist_node *p, bool free_leafs)
mpath = node->mpath;
hlist_del_rcu(p);
if (free_leafs) {
del_timer_sync(&mpath->timer);
if (mpath->timer.function)
del_timer_sync(&mpath->timer);
kfree(mpath);
}
kfree(node);
Expand Down

0 comments on commit f7c4dae

Please sign in to comment.