Commit 9d876d3e authored by Stefan Raspl's avatar Stefan Raspl Committed by David S. Miller

net/smc: Fix device de-init sequence

CLC message initialization was not properly reversed in error handling path.
Reported-and-suggested-by: default avatarAlexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: default avatarStefan Raspl <raspl@linux.ibm.com>
Signed-off-by: default avatarWenjia Zhang <wenjia@linux.ibm.com>
Reviewed-by: default avatarTony Lu <tonylu@linux.alibaba.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 13085e1b
......@@ -3501,6 +3501,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);
......
Markdown is supported
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