diff options
Diffstat (limited to 'net/tipc/core.c')
| -rw-r--r-- | net/tipc/core.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/net/tipc/core.c b/net/tipc/core.c index 676d18015dd8..a5737b8407dd 100644 --- a/net/tipc/core.c +++ b/net/tipc/core.c | |||
| @@ -35,11 +35,10 @@ | |||
| 35 | */ | 35 | */ |
| 36 | 36 | ||
| 37 | #include "core.h" | 37 | #include "core.h" |
| 38 | #include "ref.h" | ||
| 39 | #include "name_table.h" | 38 | #include "name_table.h" |
| 40 | #include "subscr.h" | 39 | #include "subscr.h" |
| 41 | #include "config.h" | 40 | #include "config.h" |
| 42 | #include "port.h" | 41 | #include "socket.h" |
| 43 | 42 | ||
| 44 | #include <linux/module.h> | 43 | #include <linux/module.h> |
| 45 | 44 | ||
| @@ -85,7 +84,7 @@ static void tipc_core_stop(void) | |||
| 85 | tipc_netlink_stop(); | 84 | tipc_netlink_stop(); |
| 86 | tipc_subscr_stop(); | 85 | tipc_subscr_stop(); |
| 87 | tipc_nametbl_stop(); | 86 | tipc_nametbl_stop(); |
| 88 | tipc_ref_table_stop(); | 87 | tipc_sk_ref_table_stop(); |
| 89 | tipc_socket_stop(); | 88 | tipc_socket_stop(); |
| 90 | tipc_unregister_sysctl(); | 89 | tipc_unregister_sysctl(); |
| 91 | } | 90 | } |
| @@ -99,7 +98,7 @@ static int tipc_core_start(void) | |||
| 99 | 98 | ||
| 100 | get_random_bytes(&tipc_random, sizeof(tipc_random)); | 99 | get_random_bytes(&tipc_random, sizeof(tipc_random)); |
| 101 | 100 | ||
| 102 | err = tipc_ref_table_init(tipc_max_ports, tipc_random); | 101 | err = tipc_sk_ref_table_init(tipc_max_ports, tipc_random); |
| 103 | if (err) | 102 | if (err) |
| 104 | goto out_reftbl; | 103 | goto out_reftbl; |
| 105 | 104 | ||
| @@ -139,7 +138,7 @@ out_socket: | |||
| 139 | out_netlink: | 138 | out_netlink: |
| 140 | tipc_nametbl_stop(); | 139 | tipc_nametbl_stop(); |
| 141 | out_nametbl: | 140 | out_nametbl: |
| 142 | tipc_ref_table_stop(); | 141 | tipc_sk_ref_table_stop(); |
| 143 | out_reftbl: | 142 | out_reftbl: |
| 144 | return err; | 143 | return err; |
| 145 | } | 144 | } |
