Commit 7c8076bd authored by Johannes Berg's avatar Johannes Berg Committed by John W. Linville
Browse files

mac80211: don't clear next_hop in path reclaim

Luis pointed out that this path is going to be freed right
away anyway so there's no point in assigning next_hop.

Signed-off-by: default avatarJohannes Berg <>
Cc: Luis Carlos Cobo <>
Signed-off-by: default avatarJohn W. Linville <>
parent 44213b5e
......@@ -301,7 +301,6 @@ static void mesh_path_node_reclaim(struct rcu_head *rp)
struct ieee80211_sub_if_data *sdata =
rcu_assign_pointer(node->mpath->next_hop, NULL);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment