tipc: remove direct accesses to own_addr field in struct tipc_net
authorJon Maloy <jon.maloy@ericsson.com>
Thu, 22 Mar 2018 19:42:49 +0000 (20:42 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Mar 2018 17:12:18 +0000 (13:12 -0400)
commit23fd3eace088ab1872ee59c19191a119ec779ac9
tree9469f540f7bd0279b0359bff04362877bd28e27b
parentb89afb116ca2830cc982624f93e888860868a84b
tipc: remove direct accesses to own_addr field in struct tipc_net

As a preparation to changing the addressing structure of TIPC we replace
all direct accesses to the tipc_net::own_addr field with the function
dedicated for this, tipc_own_addr().

There are no changes to program logics in this commit.

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