提交 9d876d3e 编写于 作者: S Stefan Raspl 提交者: 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: NAlexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: NStefan Raspl <raspl@linux.ibm.com>
Signed-off-by: NWenjia Zhang <wenjia@linux.ibm.com>
Reviewed-by: NTony Lu <tonylu@linux.alibaba.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册