tipc: improve destination linked list
authorJon Maloy <jon.maloy@ericsson.com>
Fri, 13 Oct 2017 09:04:22 +0000 (11:04 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Oct 2017 15:46:00 +0000 (08:46 -0700)
commita80ae5306a7346d4e52f59462878beb8362f4bbd
treec81696b3bf35b844513994379571f954e0d631e8
parentf70d37b796241f617107d5585ee96a7e1b660b63
tipc: improve destination linked list

We often see a need for a linked list of destination identities,
sometimes containing a port number, sometimes a node identity, and
sometimes both. The currently defined struct u32_list is not generic
enough to cover all cases, so we extend it to contain two u32 integers
and rename it to struct tipc_dest_list.

Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Acked-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/bcast.c
net/tipc/name_table.c
net/tipc/name_table.h
net/tipc/socket.c