]> git.baikalelectronics.ru Git - kernel.git/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)
commitfaf91cf143113bc4533eaf02f2da2e6496417091
tree37021cbc2fc95db7d3e4c6bc19b5f70f3b5ba598
parenta080ccd300254a128d8cebbbf2275dac2857c650
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