Skip to content

Commit

Permalink
sch_prio: Use return value from inner qdisc requeue
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jussi Kivilinna authored and David S. Miller committed Aug 18, 2008
1 parent 1e0d5a5 commit 0d40b6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/sched/sch_prio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}


Expand Down

0 comments on commit 0d40b6e

Please sign in to comment.