Skip to content

Commit 9d876d3

Browse files
Stefan Raspldavem330
authored andcommitted
net/smc: Fix device de-init sequence
CLC message initialization was not properly reversed in error handling path. Reported-and-suggested-by: Alexander Gordeev <[email protected]> Signed-off-by: Stefan Raspl <[email protected]> Signed-off-by: Wenjia Zhang <[email protected]> Reviewed-by: Tony Lu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 13085e1 commit 9d876d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

net/smc/af_smc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3501,6 +3501,7 @@ static int __init smc_init(void)
35013501
out_nl:
35023502
smc_nl_exit();
35033503
out_ism:
3504+
smc_clc_exit();
35043505
smc_ism_exit();
35053506
out_pernet_subsys_stat:
35063507
unregister_pernet_subsys(&smc_net_stat_ops);

0 commit comments

Comments
 (0)