sch_prio: Use return value from inner qdisc requeue

Use return value from inner qdisc requeue when value returned isn't
NET_XMIT_SUCCESS, instead of always returning NET_XMIT_DROP.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Jussi Kivilinna 2008-08-17 22:43:56 -07:00 committed by David S. Miller
parent 1e0d5a5747
commit 0d40b6e564

View File

@ -117,7 +117,7 @@ prio_requeue(struct sk_buff *skb, struct Qdisc* sch)
}
if (net_xmit_drop_count(ret))
sch->qstats.drops++;
return NET_XMIT_DROP;
return ret;
}