commit | 8c33bf1b0a9663d1742cb19ee71da46a1d8670dd | [log] [tgz] |
---|---|---|
author | YueHaibing <yuehaibing@huawei.com> | Wed Jun 26 17:47:50 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Jun 26 10:10:16 2019 -0700 |
tree | 6b49ef1319ea4efc0838a85d71b746c3c1ba8e13 | |
parent | 4480879251fb89b1c5585112b1ccc8c3333b41af [diff] |
net/smc: Fix error path in smc_init 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 <yuehaibing@huawei.com> Signed-off-by: Ursula Braun <ubraun@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>