diff options
Diffstat (limited to 'net/tipc/core.c')
| -rw-r--r-- | net/tipc/core.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/net/tipc/core.c b/net/tipc/core.c index 50d57429ebca..676d18015dd8 100644 --- a/net/tipc/core.c +++ b/net/tipc/core.c | |||
| @@ -80,7 +80,6 @@ struct sk_buff *tipc_buf_acquire(u32 size) | |||
| 80 | */ | 80 | */ |
| 81 | static void tipc_core_stop(void) | 81 | static void tipc_core_stop(void) |
| 82 | { | 82 | { |
| 83 | tipc_handler_stop(); | ||
| 84 | tipc_net_stop(); | 83 | tipc_net_stop(); |
| 85 | tipc_bearer_cleanup(); | 84 | tipc_bearer_cleanup(); |
| 86 | tipc_netlink_stop(); | 85 | tipc_netlink_stop(); |
| @@ -100,10 +99,6 @@ static int tipc_core_start(void) | |||
| 100 | 99 | ||
| 101 | get_random_bytes(&tipc_random, sizeof(tipc_random)); | 100 | get_random_bytes(&tipc_random, sizeof(tipc_random)); |
| 102 | 101 | ||
| 103 | err = tipc_handler_start(); | ||
| 104 | if (err) | ||
| 105 | goto out_handler; | ||
| 106 | |||
| 107 | err = tipc_ref_table_init(tipc_max_ports, tipc_random); | 102 | err = tipc_ref_table_init(tipc_max_ports, tipc_random); |
| 108 | if (err) | 103 | if (err) |
| 109 | goto out_reftbl; | 104 | goto out_reftbl; |
| @@ -146,8 +141,6 @@ out_netlink: | |||
| 146 | out_nametbl: | 141 | out_nametbl: |
| 147 | tipc_ref_table_stop(); | 142 | tipc_ref_table_stop(); |
| 148 | out_reftbl: | 143 | out_reftbl: |
| 149 | tipc_handler_stop(); | ||
| 150 | out_handler: | ||
| 151 | return err; | 144 | return err; |
| 152 | } | 145 | } |
| 153 | 146 | ||
| @@ -161,10 +154,11 @@ static int __init tipc_init(void) | |||
| 161 | tipc_max_ports = CONFIG_TIPC_PORTS; | 154 | tipc_max_ports = CONFIG_TIPC_PORTS; |
| 162 | tipc_net_id = 4711; | 155 | tipc_net_id = 4711; |
| 163 | 156 | ||
| 164 | sysctl_tipc_rmem[0] = CONN_OVERLOAD_LIMIT >> 4 << TIPC_LOW_IMPORTANCE; | 157 | sysctl_tipc_rmem[0] = TIPC_CONN_OVERLOAD_LIMIT >> 4 << |
| 165 | sysctl_tipc_rmem[1] = CONN_OVERLOAD_LIMIT >> 4 << | 158 | TIPC_LOW_IMPORTANCE; |
| 159 | sysctl_tipc_rmem[1] = TIPC_CONN_OVERLOAD_LIMIT >> 4 << | ||
| 166 | TIPC_CRITICAL_IMPORTANCE; | 160 | TIPC_CRITICAL_IMPORTANCE; |
| 167 | sysctl_tipc_rmem[2] = CONN_OVERLOAD_LIMIT; | 161 | sysctl_tipc_rmem[2] = TIPC_CONN_OVERLOAD_LIMIT; |
| 168 | 162 | ||
| 169 | res = tipc_core_start(); | 163 | res = tipc_core_start(); |
| 170 | if (res) | 164 | if (res) |
