[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200928.125927.837371342738793940.davem@davemloft.net>
Date: Mon, 28 Sep 2020 12:59:27 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: xiyou.wangcong@...il.com
Cc: netdev@...r.kernel.org, vladbu@...lanox.com, dcaratti@...hat.com,
jhs@...atatu.com, jiri@...nulli.us
Subject: Re: [Patch net] net_sched: remove a redundant goto chain check
From: Cong Wang <xiyou.wangcong@...il.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 <vladbu@...lanox.com>
> Suggested-by: Davide Caratti <dcaratti@...hat.com>
> Cc: Jamal Hadi Salim <jhs@...atatu.com>
> Cc: Jiri Pirko <jiri@...nulli.us>
> Signed-off-by: Cong Wang <xiyou.wangcong@...il.com>
Applied, thank you.
Powered by blists - more mailing lists