We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3f8ae8 commit d71872aCopy full SHA for d71872a
net/rds/tcp.c
@@ -544,7 +544,7 @@ static int rds_tcp_init(void)
544
545
ret = rds_tcp_recv_init();
546
if (ret)
547
- goto out_slab;
+ goto out_pernet;
548
549
ret = rds_trans_register(&rds_tcp_transport);
550
@@ -556,8 +556,9 @@ static int rds_tcp_init(void)
556
557
out_recv:
558
rds_tcp_recv_exit();
559
-out_slab:
+out_pernet:
560
unregister_pernet_subsys(&rds_tcp_net_ops);
561
+out_slab:
562
kmem_cache_destroy(rds_tcp_conn_slab);
563
out:
564
return ret;
0 commit comments