mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
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>
This commit is contained in:
committed by
David S. Miller
parent
928df1880e
commit
64a52b26d5
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user