diff options
author | 2008-08-17 22:43:56 -0700 | |
---|---|---|
committer | 2008-08-17 22:43:56 -0700 | |
commit | 0d40b6e564bad2047b57a9afc48b701ef3243b89 (patch) | |
tree | 66ec0052d32deacef2892a1cb9c3708b8add5027 | |
parent | pkt_sched: No longer destroy qdiscs from RCU. (diff) | |
download | linux-0d40b6e564bad2047b57a9afc48b701ef3243b89.tar.gz linux-0d40b6e564bad2047b57a9afc48b701ef3243b89.tar.bz2 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>
-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; } |