On Mon, Mar 13, 2023 at 11:08:29AM +0100, Wenjia Zhang wrote: > From: Stefan Raspl <raspl@xxxxxxxxxxxxx> > > CLC message initialization was not properly reversed in error handling path. > > Reported-and-suggested-by: Alexander Gordeev <agordeev@xxxxxxxxxxxxx> > Signed-off-by: Stefan Raspl <raspl@xxxxxxxxxxxxx> > Signed-off-by: Wenjia Zhang <wenjia@xxxxxxxxxxxxx> Reviewed-by: Tony Lu <tonylu@xxxxxxxxxxxxxxxxx> Thanks, LGTM. > --- > net/smc/af_smc.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/net/smc/af_smc.c b/net/smc/af_smc.c > index a4cccdfdc00a..50052f53a1dd 100644 > --- a/net/smc/af_smc.c > +++ b/net/smc/af_smc.c > @@ -3498,6 +3498,7 @@ static int __init smc_init(void) > out_nl: > smc_nl_exit(); > out_ism: > + smc_clc_exit(); > smc_ism_exit(); > out_pernet_subsys_stat: > unregister_pernet_subsys(&smc_net_stat_ops); > -- > 2.37.2