From: Jussi Kivilinna Date: Mon, 18 Aug 2008 05:43:56 +0000 (-0700) Subject: sch_prio: Use return value from inner qdisc requeue X-Git-Tag: v2.6.27-rc4~39^2~19 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=0d40b6e564bad2047b57a9afc48b701ef3243b89;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: David S. Miller --- diff --git a/net/sched/sch_prio.c b/net/sched/sch_prio.c index eac197610ed..7cdc3e6b31e 100644 --- a/net/sched/sch_prio.c +++ b/net/sched/sch_prio.c @@ -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; }