summaryrefslogtreecommitdiffstats
path: root/net/tipc/name_table.h
diff options
context:
space:
mode:
authorJon Maloy <jon.maloy@ericsson.com>2018-03-15 16:48:53 +0100
committerDavid S. Miller <davem@davemloft.net>2018-03-17 22:11:46 +0100
commitba765ec63786583e210b55073a908a9d7ea284fa (patch)
tree95a3dcc4112ae3de0cecd8d4ce65dd9ea6431672 /net/tipc/name_table.h
parenttipc: remove zone publication list in name table (diff)
downloadlinux-ba765ec63786583e210b55073a908a9d7ea284fa.tar.xz
linux-ba765ec63786583e210b55073a908a9d7ea284fa.zip
tipc: remove zone_list member in struct publication
As a further consequence of the previous commits, we can also remove the member 'zone_list 'in struct name_info and struct publication. Instead, we now let the member cluster_list take over the role a container of all publications of a given <type,lower, upper>. We also remove the counters for the size of those lists, since they don't serve any purpose. Acked-by: Ying Xue <ying.xue@windriver.com> Signed-off-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/name_table.h')
-rw-r--r--net/tipc/name_table.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/tipc/name_table.h b/net/tipc/name_table.h
index 47f72cddfb39..a9063e25ee74 100644
--- a/net/tipc/name_table.h
+++ b/net/tipc/name_table.h
@@ -81,7 +81,6 @@ struct publication {
struct list_head pport_list;
struct list_head node_list;
struct list_head cluster_list;
- struct list_head zone_list;
struct rcu_head rcu;
};
@@ -102,8 +101,8 @@ struct name_table {
int tipc_nl_name_table_dump(struct sk_buff *skb, struct netlink_callback *cb);
u32 tipc_nametbl_translate(struct net *net, u32 type, u32 instance, u32 *node);
-int tipc_nametbl_mc_lookup(struct net *net, u32 type, u32 lower, u32 upper,
- u32 scope, bool exact, struct list_head *dports);
+void tipc_nametbl_mc_lookup(struct net *net, u32 type, u32 lower, u32 upper,
+ u32 scope, bool exact, struct list_head *dports);
void tipc_nametbl_build_group(struct net *net, struct tipc_group *grp,
u32 type, u32 domain);
void tipc_nametbl_lookup_dst_nodes(struct net *net, u32 type, u32 lower,