Re: [PATCH] net/smc: Fix error path in smc_init

2019-05-14 Thread Ursula Braun
On 5/14/19 8:39 AM, YueHaibing wrote: > If register_pernet_subsys success in smc_init, > we should cleanup it in case any other error. > Thanks, looks good. Your patch will be part of our next patch submission. Regards, Ursula > Fixes: 64e28b52c7a6 (net/smc: add pnet table namespace support"

[PATCH] net/smc: Fix error path in smc_init

2019-05-13 Thread YueHaibing
If register_pernet_subsys success in smc_init, we should cleanup it in case any other error. Fixes: 64e28b52c7a6 (net/smc: add pnet table namespace support") Signed-off-by: YueHaibing --- net/smc/af_smc.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/net/smc/af_smc.c b/