Messages in this thread | | | Date | Fri, 6 Mar 2020 11:19:19 -0800 | From | Jakub Kicinski <> | Subject | Re: [RFC,net-next 3/9] net: schedule: add action gate offloading |
| |
On Fri, 6 Mar 2020 11:02:00 -0800 Jakub Kicinski wrote: > On Fri, 6 Mar 2020 20:56:01 +0800 Po Liu wrote: > > +static int tcf_gate_get_entries(struct flow_action_entry *entry, > > + const struct tc_action *act) > > +{ > > + entry->gate.entries = tcf_gate_get_list(act); > > + > > + if (!entry->gate.entries) > > + return -EINVAL; > > + > > + entry->destructor = tcf_gate_entry_destructor; > > + entry->destructor_priv = entry->gate.entries; > > What's this destructor stuff doing? I don't it being called.
Ah, it's the action destructor, not something gate specific. Disregard.
| |