projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d40b6e
)
sch_prio: Use NET_XMIT_SUCCESS instead of "0" constant.
author
David S. Miller
<davem@davemloft.net>
Mon, 18 Aug 2008 05:45:17 +0000
(22:45 -0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 18 Aug 2008 05:45:17 +0000
(22:45 -0700)
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 7cdc3e6b31e64c349f081ef0451ba744e9a2a434..a6697c686c7fe18d3fdec32ab58e2e4671d3278a 100644
(file)
--- a/
net/sched/sch_prio.c
+++ b/
net/sched/sch_prio.c
@@
-113,7
+113,7
@@
prio_requeue(struct sk_buff *skb, struct Qdisc* sch)
if ((ret = qdisc->ops->requeue(skb, qdisc)) == NET_XMIT_SUCCESS) {
sch->q.qlen++;
sch->qstats.requeues++;
- return
0
;
+ return
NET_XMIT_SUCCESS
;
}
if (net_xmit_drop_count(ret))
sch->qstats.drops++;