Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 273519
b: refs/heads/master
c: e2e210c
h: refs/heads/master
i:
  273517: 14dd83d
  273515: 1ae0af7
  273511: d6e0636
  273503: 53deb99
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Nov 3, 2011
1 parent 484fada commit b132a31
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 2edcd4ca43df3c1d1d392753531cc73a53e709ba
refs/heads/master: e2e210c0238eb7073e07af503ae743fa53977120
3 changes: 2 additions & 1 deletion trunk/net/l2tp/l2tp_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,7 @@ static void l2tp_recv_dequeue(struct l2tp_session *session)
* expect to send up next, dequeue it and any other
* in-sequence packets behind it.
*/
start:
spin_lock_bh(&session->reorder_q.lock);
skb_queue_walk_safe(&session->reorder_q, skb, tmp) {
if (time_after(jiffies, L2TP_SKB_CB(skb)->expires)) {
Expand Down Expand Up @@ -433,7 +434,7 @@ static void l2tp_recv_dequeue(struct l2tp_session *session)
*/
spin_unlock_bh(&session->reorder_q.lock);
l2tp_recv_dequeue_skb(session, skb);
spin_lock_bh(&session->reorder_q.lock);
goto start;
}

out:
Expand Down

0 comments on commit b132a31

Please sign in to comment.