]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: Eliminate alteration of publication key during name table purging
authorAllan Stephens <allan.stephens@windriver.com>
Fri, 28 Oct 2011 16:03:00 +0000 (12:03 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 6 Feb 2012 21:59:19 +0000 (16:59 -0500)
commitb80561915dabf590bb97ade127fb0daafade4edb
tree105add994ea83ed2e9b846dfd62632052e1bbdab
parent391ddf0fe94f1e341d8f444d4d59870c52356bf9
tipc: Eliminate alteration of publication key during name table purging

Removes code that alters the publication key of a name table entry
that is being forcibly purged from TIPC's name table after contact
with the publishing node has been lost.

Current TIPC ensures that all defunct names are purged before
re-establishing contact with a failed node.  There used to be a risk
that the publication might be accidentally deleted because it might be
re-added to the name table before the purge operation was completed.
But now there is no longer a need to ensure that the new key is different
than the old one.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
net/tipc/name_distr.c