[PATCH net-next v3] net_sched: dsmark: use qdisc_dequeue_peeked()

2016-03-06 Thread Kyeong Yoo
red in sch->gso_skb. Next time, wrr tries to dequeue from dsmark, which will call sfq dequeue directly. This results skipping the previously peeked skb. So changed dsmark dequeue to call qdisc_dequeue_peeked() instead to use peeked skb if exists. Signed-off-by: Kyeong Yoo <kyeong@all

Re: [net-next PATCH v2] net_sched: dsmark: use qdisc_dequeue_peeked()

2016-03-06 Thread Kyeong Yoo
I will upload new patch soon. Kyeong On Sun, 2016-03-06 at 22:49 -0500, David Miller wrote: > From: Kyeong Yoo <kyeong@alliedtelesis.co.nz> > Date: Thu, 3 Mar 2016 10:25:19 + ... > Your patch is corrupted by your email client, it has MS-DOS style > newlines, etc.

[net-next PATCH v2] net_sched: dsmark: use qdisc_dequeue_peeked()

2016-03-03 Thread Kyeong Yoo
red in sch->gso_skb. Next time, wrr tries to dequeue from dsmark, which will call sfq dequeue directly. This results skipping the previously peeked skb. So changed dsmark dequeue to call qdisc_dequeue_peeked() instead to use peeked skb if exists. Signed-off-by: Kyeong Yoo <kyeong@all

Re: net_sched: dsmark: use qdisc_dequeue_peeked()

2016-03-02 Thread Kyeong Yoo
Author: Kyeong Yoo <kyeong@alliedtelesis.co.nz> net_sched: dsmark: use qdisc_dequeue_peeked() This fix is for dsmark similar to commit 3557619f0f6f7496ed453d4825e249 ("net_sched: prio: use qdisc_dequeue_peeked") and makes use of qdisc_dequeue_peeked() instead of direct dequeu

net_sched: dsmark: use qdisc_dequeue_peeked()

2016-03-01 Thread Kyeong Yoo
skb still exists. Signed-off-by: Kyeong Yoo <kyeong@alliedtelesis.co.nz> diff --git a/net/sched/sch_dsmark.c b/net/sched/sch_dsmark.c index f357f34..8fa3a4f 100644 --- a/net/sched/sch_dsmark.c +++ b/net/sched/sch_dsmark.c @@ -281,7 +281,7 @@ static struct sk_buff *dsmark_dequeue(struct Q