Skip to content

Commit

Permalink
sch_plug: purge buffered packets during reset
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
WANG Cong authored and David S. Miller committed Jul 25, 2015
1 parent c42a6e8 commit fe6bea7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/sched/sch_plug.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down

0 comments on commit fe6bea7

Please sign in to comment.