Re: [PATCH net] net: sched: fix police ext initialization

2021-02-16 Thread Cong Wang
On Tue, Feb 16, 2021 at 8:22 AM Vlad Buslov wrote: > > When police action is created by cls API tcf_exts_validate() first > conditional that calls tcf_action_init_1() directly, the action idr is not > updated according to latest changes in action API that require caller to > commit newly created

[PATCH net] net: sched: fix police ext initialization

2021-02-16 Thread Vlad Buslov
When police action is created by cls API tcf_exts_validate() first conditional that calls tcf_action_init_1() directly, the action idr is not updated according to latest changes in action API that require caller to commit newly created action to idr with tcf_idr_insert_many(). This results such