summaryrefslogtreecommitdiffstats
path: root/net/tipc/link.h
diff options
context:
space:
mode:
authorJon Paul Maloy <jon.maloy@ericsson.com>2015-07-16 16:54:29 -0400
committerDavid S. Miller <davem@davemloft.net>2015-07-20 20:41:16 -0700
commit8a1577c96f122308ac9b5f195f9f9a7dd74ac541 (patch)
tree76c366004226f31bb11af37dfa00a6d0146fc4ad /net/tipc/link.h
parent333ef69ed2121f535e00ceb26e095d3745584c6e (diff)
downloadlinux-8a1577c96f122308ac9b5f195f9f9a7dd74ac541.tar.bz2
tipc: move link supervision timer to node level
In our effort to move control of the links to the link aggregation layer, we move the perodic link supervision timer to struct tipc_node. The new timer is shared between all links belonging to the node, thus saving resources, while still kicking the FSM on both its pertaining links at each expiration. The current link timer and corresponding functions are removed. 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>
Diffstat (limited to 'net/tipc/link.h')
-rw-r--r--net/tipc/link.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/tipc/link.h b/net/tipc/link.h
index 98507b0f008d..0cf7d2b11803 100644
--- a/net/tipc/link.h
+++ b/net/tipc/link.h
@@ -146,9 +146,7 @@ struct tipc_link {
u32 addr;
char name[TIPC_MAX_LINK_NAME];
struct tipc_media_addr media_addr;
- struct timer_list timer;
struct tipc_node *owner;
- struct kref ref;
/* Management and link supervision data */
u32 peer_session;