On Mon, Aug 13, 2018 at 3:44 AM Hangbin Liu <liuhang...@gmail.com> wrote:
>
> This is because in tcindex_set_parms, when there is no old_r, we set new
> exts to cr.exts. And we didn't set it to filter when r == &new_filter_result.
>
> Then in tcindex_delete() -> tcf_exts_get_net(), we will get NULL pointer
> dereference as we didn't init exts.
>
> Fix it by moving tcf_exts_change() after "if (old_r && old_r != r)" check.
> Then we don't need "cr" as there is no errout after that.

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

Reply via email to