Commit 4cf7cb28 authored by David S. Miller's avatar David S. Miller

sch_prio: Use NET_XMIT_SUCCESS instead of "0" constant.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0d40b6e5
......@@ -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++;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment