]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0c35f5b89786b91ef1ad0d4bb2919682684a5a88
tree9469f540f7bd0279b0359bff04362877bd28e27b
parent9fccb7bdd3a0309b905460382e14564ebbc7eefd
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