From: David S. Miller Date: Mon, 18 Aug 2008 05:45:17 +0000 (-0700) Subject: sch_prio: Use NET_XMIT_SUCCESS instead of "0" constant. X-Git-Tag: v2.6.27-rc4~39^2~18 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4cf7cb280e4fcfcd7ae7429e17d798d3a44087af;p=linux-2.6 sch_prio: Use NET_XMIT_SUCCESS instead of "0" constant. Signed-off-by: David S. Miller --- diff --git a/net/sched/sch_prio.c b/net/sched/sch_prio.c index 7cdc3e6b31..a6697c686c 100644 --- a/net/sched/sch_prio.c +++ b/net/sched/sch_prio.c @@ -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++;