Re: [Patch net v4 5/7] net_sched: convert tcf_exts from list to pointer array

2016-08-14 Thread Jamal Hadi Salim
On 16-08-14 01:35 AM, Cong Wang wrote: As pointed out by Jamal, an action could be shared by multiple filters, so we can't use list to chain them any more after we get rid of the original tc_action. Instead, we could just save pointers to these actions in tcf_exts, since they are refcount'ed, so

[Patch net v4 5/7] net_sched: convert tcf_exts from list to pointer array

2016-08-14 Thread Cong Wang
As pointed out by Jamal, an action could be shared by multiple filters, so we can't use list to chain them any more after we get rid of the original tc_action. Instead, we could just save pointers to these actions in tcf_exts, since they are refcount'ed, so convert the list to an array of pointers.