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:
parent
1e0d5a5747
commit
0d40b6e564
|
@ -117,7 +117,7 @@ prio_requeue(struct sk_buff *skb, struct Qdisc* sch)
|
||||||
}
|
}
|
||||||
if (net_xmit_drop_count(ret))
|
if (net_xmit_drop_count(ret))
|
||||||
sch->qstats.drops++;
|
sch->qstats.drops++;
|
||||||
return NET_XMIT_DROP;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue