aboutsummaryrefslogtreecommitdiff
path: root/net/tipc/config.h
diff options
context:
space:
mode:
authorAllan Stephens <allan.stephens@windriver.com>2012-04-26 16:46:29 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2012-04-26 17:19:07 -0400
commita2cfd45b52006893fc0d0e850d187d30f86a39dc (patch)
tree37021cbc2fc95db7d3e4c6bc19b5f70f3b5ba598 /net/tipc/config.h
parent9cf6ace5f5c7981f5df76af3e1b90d77cc3cdece (diff)
tipc: Optimize re-initialization of configuration service
Streamlines the job of re-initializing TIPC's configuration service when a node's network address is first assigned. Rather than destroying the configuration server port and then recreating it, TIPC now simply withdraws the existing {0,<0.0.0>} name publication and creates a new {0,<Z.C.N>} name publication that identifies the node's network address to interested subscribers. Signed-off-by: Allan Stephens <allan.stephens@windriver.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'net/tipc/config.h')
-rw-r--r--net/tipc/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/tipc/config.h b/net/tipc/config.h
index 80da6ebc278..1f252f3fa05 100644
--- a/net/tipc/config.h
+++ b/net/tipc/config.h
@@ -66,6 +66,7 @@ struct sk_buff *tipc_cfg_do_cmd(u32 orig_node, u16 cmd,
int headroom);
int tipc_cfg_init(void);
+void tipc_cfg_reinit(void);
void tipc_cfg_stop(void);
#endif