mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
net/smc: Fix device de-init sequence
CLC message initialization was not properly reversed in error handling path. Reported-and-suggested-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Stefan Raspl <raspl@linux.ibm.com> Signed-off-by: Wenjia Zhang <wenjia@linux.ibm.com> Reviewed-by: Tony Lu <tonylu@linux.alibaba.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
13085e1b5c
commit
9d876d3ef2
@ -3501,6 +3501,7 @@ out_pnet:
|
||||
out_nl:
|
||||
smc_nl_exit();
|
||||
out_ism:
|
||||
smc_clc_exit();
|
||||
smc_ism_exit();
|
||||
out_pernet_subsys_stat:
|
||||
unregister_pernet_subsys(&smc_net_stat_ops);
|
||||
|
Loading…
Reference in New Issue
Block a user