From: Cong Wang <[email protected]>
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 <[email protected]>
> Suggested-by: Davide Caratti <[email protected]>
> Cc: Jamal Hadi Salim <[email protected]>
> Cc: Jiri Pirko <[email protected]>
> Signed-off-by: Cong Wang <[email protected]>

Applied, thank you.

Reply via email to