]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: Separate cluster-scope and zone-scope names into distinct lists
authorAllan Stephens <allan.stephens@windriver.com>
Tue, 17 Apr 2012 21:57:52 +0000 (17:57 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 19 Apr 2012 19:46:05 +0000 (15:46 -0400)
commit834c21aea1a44983751e9d32d23ce1d077a912be
treec97c7471f0e4b4c8532a70cae5db9c06319f884c
parent30774978f2c5a21b78f9e3b1e4b47e59e3874021
tipc: Separate cluster-scope and zone-scope names into distinct lists

Utilizes distinct lists to track zone-scope and cluster-scope names
published by a node. For now, TIPC continues to process the entries
in both lists in the same way; however, an upcoming patch will utilize
the existence of the lists to prevent the sending of cluster-scope names
to nodes that are not part of the local cluster.

To achieve this, an array of publication lists is introduced, so
that they can be iterated over and accessed via publ->scope as
an index where convenient.

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