Commit:     36247f5421015eab0bdd96789b24790598934db9
Parent:     d333fc8d3006296f2893d17817bc0f67cf87f353
Author:     Herbert Xu <[EMAIL PROTECTED]>
AuthorDate: Wed May 23 14:30:44 2007 -0700
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Thu May 24 16:36:43 2007 -0700

    [NET_SCHED]: Fix qdisc_restart return value when dequeue is empty
    My previous patch that changed the return value of qdisc_restart
    incorrectly made the case where dequeue returns empty continue
    processing packets.
    This patch is based on diagnosis and fix by Patrick McHardy.
    Reported-and-debugged-by: Anant Nitya <[EMAIL PROTECTED]>
    Signed-off-by: Herbert Xu <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
 net/sched/sch_generic.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/sched/sch_generic.c b/net/sched/sch_generic.c
index f28bb2d..cbefe22 100644
--- a/net/sched/sch_generic.c
+++ b/net/sched/sch_generic.c
@@ -169,8 +169,8 @@ requeue:
                        q->ops->requeue(skb, q);
-               return 0;
+       return 0;
        BUG_ON((int) q->q.qlen < 0);
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to