projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e0d5a5
)
sch_prio: Use return value from inner qdisc requeue
author
Jussi Kivilinna
<jussi.kivilinna@mbnet.fi>
Mon, 18 Aug 2008 05:43:56 +0000
(22:43 -0700)
committer
David 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
patch
|
blob
|
blame
|
history
diff --git
a/net/sched/sch_prio.c
b/net/sched/sch_prio.c
index eac197610edf28b6b7bb019769c260d9f723fbe9..7cdc3e6b31e64c349f081ef0451ba744e9a2a434 100644
(file)
--- 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
;
}