]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: narrow down interface towards struct tipc_link
authorJon Paul Maloy <jon.maloy@ericsson.com>
Thu, 19 Nov 2015 19:30:46 +0000 (14:30 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Nov 2015 19:06:10 +0000 (14:06 -0500)
commit937203a648132ce83b7ee22085bc45c2332113b0
tree0325222bc72ed1ae0039ccb3f7d8300342b6dff9
parent4e3835ec538694f21b06b033b1e99d55d58c8dad
tipc: narrow down interface towards struct tipc_link

We move the definition of struct tipc_link from link.h to link.c in
order to minimize its exposure to the rest of the code.

When needed, we define new functions to make it possible for external
entities to access and set data in the link.

Apart from the above, there are no functional changes.

Reviewed-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/bcast.c
net/tipc/link.c
net/tipc/link.h
net/tipc/netlink.c
net/tipc/netlink_compat.c
net/tipc/node.c
net/tipc/node.h