On Tue, Aug 14, 2018 at 10:30 AM Vlad Buslov <vla...@mellanox.com> wrote:
>
> Action init API was changed to always take reference to action, even when
> overwriting existing action. Substitute conditional action release, which
> was executed only if action is newly created, with unconditional release in
> tcf_ife_init() error handling code to prevent double free or memory leak in
> case of overwrite.
>
> Fixes: 4e8ddd7f1758 ("net: sched: don't release reference on action 
> overwrite")
> Reported-by: Cong Wang <xiyou.wangc...@gmail.com>
> Signed-off-by: Vlad Buslov <vla...@mellanox.com>

Looks good,

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

Reply via email to