diff options
author | David S. Miller <davem@davemloft.net> | 2008-08-18 07:45:17 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-18 07:45:17 +0200 |
commit | 4cf7cb280e4fcfcd7ae7429e17d798d3a44087af (patch) | |
tree | d0635d3fa1dcb475efb576b25818be66aa99e479 /net/sched | |
parent | sch_prio: Use return value from inner qdisc requeue (diff) | |
download | linux-4cf7cb280e4fcfcd7ae7429e17d798d3a44087af.tar.xz 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')
-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 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++; |