diff options
author | Jon Maloy <jon.maloy@ericsson.com> | 2018-03-15 16:48:52 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-17 17:11:46 -0400 |
commit | 64a52b26d5633d6efc35cdf1e0c627cc4189e55a (patch) | |
tree | e5d40c7be6e87953313e10ea698db475b6071725 /net/tipc/core.h | |
parent | 928df1880e24bcd47d6359ff86df24db3dfba3c3 (diff) | |
download | linux-64a52b26d5633d6efc35cdf1e0c627cc4189e55a.tar.bz2 |
tipc: remove zone publication list in name table
As a consequence of the previous commit we nan now eliminate zone scope
related lists in the name table. We start with name_table::publ_list[3],
which can now be replaced with two lists, one for node scope publications
and one for cluster scope publications.
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/core.h')
-rw-r--r-- | net/tipc/core.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/tipc/core.h b/net/tipc/core.h index ff8b071654f5..347f850dc872 100644 --- a/net/tipc/core.h +++ b/net/tipc/core.h @@ -131,6 +131,11 @@ static inline struct list_head *tipc_nodes(struct net *net) return &tipc_net(net)->node_list; } +static inline struct name_table *tipc_name_table(struct net *net) +{ + return tipc_net(net)->nametbl; +} + static inline struct tipc_topsrv *tipc_topsrv(struct net *net) { return tipc_net(net)->topsrv; |