Re: [PATCH net v2 1/1] net: sched: fix cleanup NULL pointer exception in act_mirr

2019-03-22 Thread Cong Wang
On Fri, Mar 22, 2019 at 5:37 AM John Hurley wrote: > > A new mirred action is created by the tcf_mirred_init function. This > contains a list head struct which is inserted into a global list on > successful creation of a new action. However, after a creation, it is > still possible to error out an

[PATCH net v2 1/1] net: sched: fix cleanup NULL pointer exception in act_mirr

2019-03-22 Thread John Hurley
A new mirred action is created by the tcf_mirred_init function. This contains a list head struct which is inserted into a global list on successful creation of a new action. However, after a creation, it is still possible to error out and call the tcf_idr_release function. This, in turn, calls the