Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 265824
b: refs/heads/master
c: 817a53d
h: refs/heads/master
v: v3
  • Loading branch information
John W. Linville committed Aug 29, 2011
1 parent 3cd886f commit 3ace7d5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: b38de31ffa870323c4f6957904303477c88fe905
refs/heads/master: 817a53d9866ab4118e2dd17a9ffe80700eac40ac
8 changes: 4 additions & 4 deletions trunk/net/mac80211/mesh_pathtbl.c
Original file line number Diff line number Diff line change
Expand Up @@ -307,14 +307,14 @@ static void mesh_path_move_to_queue(struct mesh_path *gate_mpath,

while (num_skbs--) {
skb = __skb_dequeue(&failq);
if (copy)
if (copy) {
cp_skb = skb_copy(skb, GFP_ATOMIC);
if (cp_skb)
__skb_queue_tail(&failq, cp_skb);
}

prepare_for_gate(skb, gate_mpath->dst, gate_mpath);
__skb_queue_tail(&gateq, skb);

if (copy && cp_skb)
__skb_queue_tail(&failq, cp_skb);
}

spin_lock_irqsave(&gate_mpath->frame_queue.lock, flags);
Expand Down

0 comments on commit 3ace7d5

Please sign in to comment.