Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 111798
b: refs/heads/master
c: 38ce7c7
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Sep 23, 2008
1 parent 0fef4ee commit 1973497
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 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: f72051b0674f36c960698653a0583edaec1e495e
refs/heads/master: 38ce7c736916293b7ce09cd6a2133894fe2cec52
8 changes: 5 additions & 3 deletions trunk/drivers/net/ppp_generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -1833,9 +1833,11 @@ ppp_receive_mp_frame(struct ppp *ppp, struct sk_buff *skb, struct channel *pch)

/* If the queue is getting long, don't wait any longer for packets
before the start of the queue. */
if (skb_queue_len(&ppp->mrq) >= PPP_MP_MAX_QLEN
&& seq_before(ppp->minseq, ppp->mrq.next->sequence))
ppp->minseq = ppp->mrq.next->sequence;
if (skb_queue_len(&ppp->mrq) >= PPP_MP_MAX_QLEN) {
struct sk_buff *skb = skb_peek(&ppp->mrq);
if (seq_before(ppp->minseq, skb->sequence))
ppp->minseq = skb->sequence;
}

/* Pull completed packets off the queue and receive them. */
while ((skb = ppp_mp_reconstruct(ppp)))
Expand Down

0 comments on commit 1973497

Please sign in to comment.