diff options
author | Jussi Kivilinna <jussi.kivilinna@mbnet.fi> | 2008-08-18 07:43:56 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-18 07:43:56 +0200 |
commit | 0d40b6e564bad2047b57a9afc48b701ef3243b89 (patch) | |
tree | 66ec0052d32deacef2892a1cb9c3708b8add5027 /net/sched/sch_prio.c | |
parent | pkt_sched: No longer destroy qdiscs from RCU. (diff) | |
download | linux-0d40b6e564bad2047b57a9afc48b701ef3243b89.tar.xz linux-0d40b6e564bad2047b57a9afc48b701ef3243b89.zip |
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/sch_prio.c')
-rw-r--r-- | net/sched/sch_prio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_prio.c b/net/sched/sch_prio.c index eac197610edf..7cdc3e6b31e6 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; } |