On Mon, Aug 13, 2018 at 3:44 AM Hangbin Liu <liuhang...@gmail.com> 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 <shu...@redhat.com>
> Signed-off-by: Hangbin Liu <liuhang...@gmail.com>

Acked-by: Cong Wang <xiyou.wangc...@gmail.com>

Reply via email to