diff options
author | David S. Miller <davem@davemloft.net> | 2008-08-17 22:45:17 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-17 22:45:17 -0700 |
commit | 4cf7cb280e4fcfcd7ae7429e17d798d3a44087af (patch) | |
tree | d0635d3fa1dcb475efb576b25818be66aa99e479 /net/sched/sch_prio.c | |
parent | 0d40b6e564bad2047b57a9afc48b701ef3243b89 (diff) | |
download | op-kernel-dev-4cf7cb280e4fcfcd7ae7429e17d798d3a44087af.zip op-kernel-dev-4cf7cb280e4fcfcd7ae7429e17d798d3a44087af.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_prio.c b/net/sched/sch_prio.c index 7cdc3e6..a6697c6 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++; |