diff options
| author | Jon Paul Maloy <[email protected]> | 2015-10-22 12:51:46 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-10-24 13:56:45 +0000 |
| commit | c72fa872a23f03b2b9c17e88f3b0a8070924e5f1 (patch) | |
| tree | 852fd70aa5212a91390478247131ba9adb93b8fb /net/tipc/bcast.c | |
| parent | tipc: eliminate redundant buffer cloning at transmission (diff) | |
| download | kernel-c72fa872a23f03b2b9c17e88f3b0a8070924e5f1.tar.gz kernel-c72fa872a23f03b2b9c17e88f3b0a8070924e5f1.zip | |
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]>
Diffstat (limited to 'net/tipc/bcast.c')
| -rw-r--r-- | net/tipc/bcast.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/bcast.c b/net/tipc/bcast.c index d8c399d31288..c012ce9e93c7 100644 --- a/net/tipc/bcast.c +++ b/net/tipc/bcast.c @@ -1226,7 +1226,7 @@ int tipc_bcast_init(struct net *net) spin_lock_init(&tipc_net(net)->bclock); bb->node.net = net; - if (!tipc_link_bc_create(&bb->node, 0, 0, + if (!tipc_link_bc_create(net, 0, 0, U16_MAX, BCLINK_WIN_DEFAULT, 0, |
