summaryrefslogtreecommitdiffstats
path: root/net/sched
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>2008-08-17 22:43:56 -0700
committerDavid S. Miller <davem@davemloft.net>2008-08-17 22:43:56 -0700
commit0d40b6e564bad2047b57a9afc48b701ef3243b89 (patch)
tree66ec0052d32deacef2892a1cb9c3708b8add5027 /net/sched
parent1e0d5a5747772182d1bb2525d8153da640fdfb58 (diff)
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>
Diffstat (limited to 'net/sched')
-rw-r--r--net/sched/sch_prio.c2
1 files changed, 1 insertions, 1 deletions
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;
}