tipc: merge two lists in struct publication
authorJon Maloy <jon.maloy@ericsson.com>
Thu, 15 Mar 2018 15:48:54 +0000 (16:48 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 Mar 2018 21:11:46 +0000 (17:11 -0400)
commit935439cc48ef24f0e50396be3684a0f27e609363
tree9a68c3f65589d9349301c08f897cc65d769f7163
parentba765ec63786583e210b55073a908a9d7ea284fa
tipc: merge two lists in struct publication

The size of struct publication can be reduced further. Membership in
lists 'nodesub_list' and 'local_list' is mutually exlusive, in that
remote publications use the former and local publications the latter.
We replace the two lists with one single, named 'binding_node' which
reflects what it really is.

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>
net/tipc/name_distr.c
net/tipc/name_table.h