]> git.proxmox.com Git - mirror_ubuntu-zesty-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)
commita909804f7c6cb83b7365ed23e9fd4c1267ee9ef0
treec97c7471f0e4b4c8532a70cae5db9c06319f884c
parente11aa059715e2bacd4e62d57be5557dda697af8e
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