projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: sched: factorize code (qdisc_drop())
[deliverable/linux.git]
/
net
/
sched
/
sch_htb.c
diff --git
a/net/sched/sch_htb.c
b/net/sched/sch_htb.c
index 2ea6f196e3c823bcf6760af88b554248d93f165a..acae5b0e3849daf2c8ff411723570e5d5bc83168 100644
(file)
--- a/
net/sched/sch_htb.c
+++ b/
net/sched/sch_htb.c
@@
-558,9
+558,7
@@
static int htb_enqueue(struct sk_buff *skb, struct Qdisc *sch)
__skb_queue_tail(&q->direct_queue, skb);
q->direct_pkts++;
} else {
- kfree_skb(skb);
- sch->qstats.drops++;
- return NET_XMIT_DROP;
+ return qdisc_drop(skb, sch);
}
#ifdef CONFIG_NET_CLS_ACT
} else if (!cl) {
This page took
0.025399 seconds
and
5
git commands to generate.