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>
This commit is contained in:

committed by
Paul Gortmaker

parent
9cf6ace5f5
commit
a2cfd45b52
@@ -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
|
||||
|
Reference in New Issue
Block a user