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 7cdc3e6..a6697c6 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++;