]> 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)
commit035b92f1c5b444583efb1d674b64cc724f07b203
tree9469f540f7bd0279b0359bff04362877bd28e27b
parent44b74751db77b7d1e4282991353c7c1a932c6b2e
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