提交 4cf7cb28 编写于 作者: D David S. Miller

sch_prio: Use NET_XMIT_SUCCESS instead of "0" constant.

Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册