net: sched: call tcf_ct_params_free to free params in tcf_ct_init
[ Upstream commit 19138941 ] This patch is to make the err path simple by calling tcf_ct_params_free(), so that it won't cause problems when more members are added into param and need freeing on the err path. Acked-by:Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by:
Xin Long <lucien.xin@gmail.com> Signed-off-by:
Paolo Abeni <pabeni@redhat.com> Stable-dep-of: 125f1c7f ("net/sched: act_ct: Take per-cb reference to tcf_ct_flow_table") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please register or sign in to comment