diff options
| author | 2015-07-21 16:31:53 -0700 | |
|---|---|---|
| committer | 2015-07-24 22:57:14 -0700 | |
| commit | fe6bea7f1f3a09fc06d835446d34d3b3b6a543fb (patch) | |
| tree | e9b5ae888d1221c6d312d3ec172729c01a952834 | |
| parent | Merge branch 'fib_select_default-fixes' (diff) | |
| download | wireguard-linux-fe6bea7f1f3a09fc06d835446d34d3b3b6a543fb.tar.xz wireguard-linux-fe6bea7f1f3a09fc06d835446d34d3b3b6a543fb.zip | |
sch_plug: purge buffered packets during reset
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>
| -rw-r--r-- | net/sched/sch_plug.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sched/sch_plug.c b/net/sched/sch_plug.c index 89f8fcf73f18..ade9445a55ab 100644 --- 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, }; |
