Re: [Patch net-next v2 2/4] net_sched: introduce tclass_del_notify()

2017-08-25 Thread Jamal Hadi Salim
On 17-08-24 07:51 PM, Cong Wang wrote: 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 Acked-by: Jamal Hadi Salim cheers, jamal

Re: [Patch net-next v2 2/4] net_sched: introduce tclass_del_notify()

2017-08-25 Thread Jiri Pirko
Fri, Aug 25, 2017 at 01:51:28AM CEST, xiyou.wangc...@gmail.com wrote: >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 >--- [...]