diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2017-08-24 16:51:28 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-25 17:19:10 -0700 |
commit | 14546ba1e5653e5dd00d113e98bd21b5b235192b (patch) | |
tree | 5ce7c203e1f667ba798114a418bcf28ce655e384 /net/sched/sch_netem.c | |
parent | 27d7f07c49de289e2a2d48a6bec3e111ed4b1222 (diff) | |
download | linux-14546ba1e5653e5dd00d113e98bd21b5b235192b.tar.bz2 |
net_sched: introduce tclass_del_notify()
Like for TC actions, ->delete() is a special case,
we have to prepare and fill the notification before delete
otherwise would get use-after-free after we remove the
reference count.
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_netem.c')
0 files changed, 0 insertions, 0 deletions