diff options
author | Allan Stephens <allan.stephens@windriver.com> | 2008-05-21 17:55:04 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-05-21 17:55:04 -0400 |
commit | 03194379a77b02df3404ec4848a50c6784e9a8a5 (patch) | |
tree | f76ddd4c02f71f5ed03da0729d563f81d701f267 /net/tipc/core.h | |
parent | 6d4a6672c8263f98544d2b91690dc7074b144090 (diff) |
tipc: Fix initialization sequence problems when entering network mode
This patch ensures that TIPC's topology service and configuration
service are shut down before switching into "network mode". This
ensures that TIPC does not mistakenly try to send unnecessary
"publication withdraw" messages to other nodes before it is fully
initialized for sending off-node messages. Note that the node's
current network address is now updated only after the two services
are shut down; this ensures that any existing connections to the
topology server are terminated correctly using the old address.
Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/core.h')
-rw-r--r-- | net/tipc/core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/core.h b/net/tipc/core.h index bd78d1705c0f..a881f92a8537 100644 --- a/net/tipc/core.h +++ b/net/tipc/core.h | |||
@@ -202,7 +202,7 @@ extern atomic_t tipc_user_count; | |||
202 | 202 | ||
203 | extern int tipc_core_start(void); | 203 | extern int tipc_core_start(void); |
204 | extern void tipc_core_stop(void); | 204 | extern void tipc_core_stop(void); |
205 | extern int tipc_core_start_net(void); | 205 | extern int tipc_core_start_net(unsigned long addr); |
206 | extern void tipc_core_stop_net(void); | 206 | extern void tipc_core_stop_net(void); |
207 | extern int tipc_handler_start(void); | 207 | extern int tipc_handler_start(void); |
208 | extern void tipc_handler_stop(void); | 208 | extern void tipc_handler_stop(void); |