]> Git Repo - linux.git/commit - net/tipc/node.c
tipc: eliminate link's reference to owner node
authorJon Paul Maloy <[email protected]>
Thu, 22 Oct 2015 12:51:46 +0000 (08:51 -0400)
committerDavid S. Miller <[email protected]>
Sat, 24 Oct 2015 13:56:45 +0000 (06:56 -0700)
commitc72fa872a23f03b2b9c17e88f3b0a8070924e5f1
tree852fd70aa5212a91390478247131ba9adb93b8fb
parent7214bcf8753109256d635ba079938fbd6fcf713b
tipc: eliminate link's reference to owner node

With the recent commit series, we have established a one-way dependency
between the link aggregation (struct tipc_node) instances and their
pertaining tipc_link instances. This has enabled quite significant code
and structure simplifications.

In this commit, we eliminate the field 'owner', which points to an
instance of struct tipc_node, from struct tipc_link, and replace it with
a pointer to struct net, which is the only external reference now needed
by a link instance.

Signed-off-by: Jon Maloy <[email protected]>
Reviewed-by: Ying Xue <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/tipc/bcast.c
net/tipc/link.c
net/tipc/link.h
net/tipc/node.c
This page took 0.055341 seconds and 4 git commands to generate.