]> 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)
commit44c64a482e4833acdf30d841625d0a5e729342f9
tree0325222bc72ed1ae0039ccb3f7d8300342b6dff9
parent6a794a3165936b6ba09980a11740269dda7fb6b7
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