projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c42a6e8
)
sch_plug: purge buffered packets during reset
author
WANG Cong
<xiyou.wangcong@gmail.com>
Tue, 21 Jul 2015 23:31:53 +0000
(16:31 -0700)
committer
David S. Miller
<davem@davemloft.net>
Sat, 25 Jul 2015 05:57:14 +0000
(22:57 -0700)
Otherwise the skbuff related structures are not correctly
refcount'ed.
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_plug.c
patch
|
blob
|
blame
|
history
diff --git
a/net/sched/sch_plug.c
b/net/sched/sch_plug.c
index 89f8fcf73f18f6e091881cc829861285c0c8f8b7..ade9445a55abe468107f2bcb233e48da027afb4b 100644
(file)
--- a/
net/sched/sch_plug.c
+++ b/
net/sched/sch_plug.c
@@
-216,6
+216,7
@@
static struct Qdisc_ops plug_qdisc_ops __read_mostly = {
.peek = qdisc_peek_head,
.init = plug_init,
.change = plug_change,
+ .reset = qdisc_reset_queue,
.owner = THIS_MODULE,
};