Skip to content
Commit 8c33bf1b authored by YueHaibing's avatar YueHaibing Committed by David S. Miller
Browse files

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: 64e28b52 (net/smc: add pnet table namespace support")
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarUrsula Braun <ubraun@linux.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 44808792
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment