On Mon, Aug 13, 2018 at 3:44 AM Hangbin Liu <[email protected]> wrote:
> This is because we didn't update f->result.res when create new filter. Then in
> tcindex_delete() -> tcf_unbind_filter(), we will failed to find out the res
> and unbind filter, which will trigger the WARN_ON() in cbq_destroy_class().
>
> Fix it by updating f->result.res when create new filter.
>
> Fixes: 6e0565697a106 ("net_sched: fix another crash in cls_tcindex")
> Reported-by: Li Shuang <[email protected]>
> Signed-off-by: Hangbin Liu <[email protected]>

Acked-by: Cong Wang <[email protected]>

Reply via email to