[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM_iQpWbL=U8Wi0aJOX5-iXZggVu9rD1NcihAb0C6PwkEsmmPQ@mail.gmail.com>
Date: Mon, 13 Aug 2018 18:46:36 -0700
From: Cong Wang <xiyou.wangcong@...il.com>
To: Hangbin Liu <liuhangbin@...il.com>
Cc: Linux Kernel Network Developers <netdev@...r.kernel.org>,
David Miller <davem@...emloft.net>
Subject: Re: [PATCH net 2/2] net_sched: Fix missing res info when create new
tc_index filter
On Mon, Aug 13, 2018 at 3:44 AM Hangbin Liu <liuhangbin@...il.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 <shuali@...hat.com>
> Signed-off-by: Hangbin Liu <liuhangbin@...il.com>
Acked-by: Cong Wang <xiyou.wangcong@...il.com>
Powered by blists - more mailing lists