From: Cong Wang <xiyou.wangc...@gmail.com>
Date: Mon, 28 Sep 2020 11:31:03 -0700

> All TC actions call tcf_action_check_ctrlact() to validate
> goto chain, so this check in tcf_action_init_1() is actually
> redundant. Remove it to save troubles of leaking memory.
> 
> Fixes: e49d8c22f126 ("net_sched: defer tcf_idr_insert() in 
> tcf_action_init_1()")
> Reported-by: Vlad Buslov <vla...@mellanox.com>
> Suggested-by: Davide Caratti <dcara...@redhat.com>
> Cc: Jamal Hadi Salim <j...@mojatatu.com>
> Cc: Jiri Pirko <j...@resnulli.us>
> Signed-off-by: Cong Wang <xiyou.wangc...@gmail.com>

Applied, thank you.

Reply via email to