net_sched: Add qdisc_enqueue wrapper
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
db7a94d60f
commit
5f86173bdf
@@ -252,7 +252,7 @@ static int dsmark_enqueue(struct sk_buff *skb, struct Qdisc *sch)
|
||||
}
|
||||
}
|
||||
|
||||
err = p->q->enqueue(skb, p->q);
|
||||
err = qdisc_enqueue(skb, p->q);
|
||||
if (err != NET_XMIT_SUCCESS) {
|
||||
sch->qstats.drops++;
|
||||
return err;
|
||||
|
Reference in New Issue
Block a user