]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
sch_prio: Use return value from inner qdisc requeue
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>
Mon, 18 Aug 2008 05:43:56 +0000 (22:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Aug 2008 05:43:56 +0000 (22:43 -0700)
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>
net/sched/sch_prio.c

index eac197610edf28b6b7bb019769c260d9f723fbe9..7cdc3e6b31e64c349f081ef0451ba744e9a2a434 100644 (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;
 }