]> Pileus Git - ~andy/linux/commit
tipc: Optimize re-initialization of configuration service
authorAllan Stephens <allan.stephens@windriver.com>
Thu, 26 Apr 2012 20:46:29 +0000 (16:46 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 26 Apr 2012 21:19:07 +0000 (17:19 -0400)
commita2cfd45b52006893fc0d0e850d187d30f86a39dc
tree37021cbc2fc95db7d3e4c6bc19b5f70f3b5ba598
parent9cf6ace5f5c7981f5df76af3e1b90d77cc3cdece
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>
net/tipc/config.c
net/tipc/config.h
net/tipc/net.c