summaryrefslogtreecommitdiffstats
path: root/net/sched/sch_prio.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-08-17 22:45:17 -0700
committerDavid S. Miller <davem@davemloft.net>2008-08-17 22:45:17 -0700
commit4cf7cb280e4fcfcd7ae7429e17d798d3a44087af (patch)
treed0635d3fa1dcb475efb576b25818be66aa99e479 /net/sched/sch_prio.c
parent0d40b6e564bad2047b57a9afc48b701ef3243b89 (diff)
downloadlinux-4cf7cb280e4fcfcd7ae7429e17d798d3a44087af.tar.gz
linux-4cf7cb280e4fcfcd7ae7429e17d798d3a44087af.tar.bz2
linux-4cf7cb280e4fcfcd7ae7429e17d798d3a44087af.zip
sch_prio: Use NET_XMIT_SUCCESS instead of "0" constant.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_prio.c')
-rw-r--r--net/sched/sch_prio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_prio.c b/net/sched/sch_prio.c
index 7cdc3e6b31e6..a6697c686c7f 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++;