]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
sch_prio: Use NET_XMIT_SUCCESS instead of "0" constant.
authorDavid S. Miller <davem@davemloft.net>
Mon, 18 Aug 2008 05:45:17 +0000 (22:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Aug 2008 05:45:17 +0000 (22:45 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_prio.c

index 7cdc3e6b31e64c349f081ef0451ba744e9a2a434..a6697c686c7fe18d3fdec32ab58e2e4671d3278a 100644 (file)
@@ -113,7 +113,7 @@ prio_requeue(struct sk_buff *skb, struct Qdisc* sch)
        if ((ret = qdisc->ops->requeue(skb, qdisc)) == NET_XMIT_SUCCESS) {
                sch->q.qlen++;
                sch->qstats.requeues++;
-               return 0;
+               return NET_XMIT_SUCCESS;
        }
        if (net_xmit_drop_count(ret))
                sch->qstats.drops++;