OSDN Git Service

tipc: Ensure network address change doesn't impact name table updates
authorAllan Stephens <allan.stephens@windriver.com>
Tue, 17 Apr 2012 22:16:34 +0000 (18:16 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 19 Apr 2012 19:46:40 +0000 (15:46 -0400)
commitd4f5c12cdf43ce70731d5abfb6400bfb1be392d3
tree8ce57140f3bd5eb0a11937eb1f9f0640ce33549c
parent336ebf5bf524e447227cb1d785b22ca722e6afa7
tipc: Ensure network address change doesn't impact name table updates

Revises routines that add and remove an entry from a node's name table
so that the publication scope lists are updated properly even if the
node's network address is changed in mid-operation. The routines now
recognize the default node address of <0.0.0> as an alias for "this node"
even after a new network address has been assigned.

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