aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/node.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/tipc/node.c')
-rw-r--r--net/tipc/node.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/net/tipc/node.c b/net/tipc/node.c
index 6d8bdfd95cd..7bc45e135fb 100644
--- a/net/tipc/node.c
+++ b/net/tipc/node.c
@@ -49,9 +49,8 @@ LIST_HEAD(tipc_node_list);
49static u32 tipc_num_nodes; 49static u32 tipc_num_nodes;
50 50
51static atomic_t tipc_num_links = ATOMIC_INIT(0); 51static atomic_t tipc_num_links = ATOMIC_INIT(0);
52u32 tipc_own_tag;
53 52
54/** 53/*
55 * tipc_node_find - locate specified node object, if it exists 54 * tipc_node_find - locate specified node object, if it exists
56 */ 55 */
57 56
@@ -309,8 +308,6 @@ static void node_established_contact(struct tipc_node *n_ptr)
309 if (n_ptr->bclink.supportable) { 308 if (n_ptr->bclink.supportable) {
310 tipc_bclink_add_node(n_ptr->addr); 309 tipc_bclink_add_node(n_ptr->addr);
311 n_ptr->bclink.supported = 1; 310 n_ptr->bclink.supported = 1;
312 if (n_ptr->addr < tipc_own_addr)
313 tipc_own_tag++;
314 } 311 }
315} 312}
316 313
@@ -353,8 +350,6 @@ static void node_lost_contact(struct tipc_node *n_ptr)
353 350
354 tipc_bclink_remove_node(n_ptr->addr); 351 tipc_bclink_remove_node(n_ptr->addr);
355 tipc_bclink_acknowledge(n_ptr, INVALID_LINK_SEQ); 352 tipc_bclink_acknowledge(n_ptr, INVALID_LINK_SEQ);
356 if (n_ptr->addr < tipc_own_addr)
357 tipc_own_tag--;
358 353
359 n_ptr->bclink.supported = 0; 354 n_ptr->bclink.supported = 0;
360 } 355 }