aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/sunrpc_syms.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sunrpc/sunrpc_syms.c')
-rw-r--r--net/sunrpc/sunrpc_syms.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/sunrpc/sunrpc_syms.c b/net/sunrpc/sunrpc_syms.c
index ef7dc78e2c7b..11b309817b8f 100644
--- a/net/sunrpc/sunrpc_syms.c
+++ b/net/sunrpc/sunrpc_syms.c
@@ -85,7 +85,8 @@ init_sunrpc(void)
85#endif 85#endif
86 cache_register(&ip_map_cache); 86 cache_register(&ip_map_cache);
87 cache_register(&unix_gid_cache); 87 cache_register(&unix_gid_cache);
88 init_socket_xprt(); 88 svc_init_xprt_sock(); /* svc sock transport */
89 init_socket_xprt(); /* clnt sock transport */
89 rpcauth_init_module(); 90 rpcauth_init_module();
90out: 91out:
91 return err; 92 return err;
@@ -96,6 +97,7 @@ cleanup_sunrpc(void)
96{ 97{
97 rpcauth_remove_module(); 98 rpcauth_remove_module();
98 cleanup_socket_xprt(); 99 cleanup_socket_xprt();
100 svc_cleanup_xprt_sock();
99 unregister_rpc_pipefs(); 101 unregister_rpc_pipefs();
100 rpc_destroy_mempool(); 102 rpc_destroy_mempool();
101 cache_unregister(&ip_map_cache); 103 cache_unregister(&ip_map_cache);