aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/bcast.c
diff options
context:
space:
mode:
authorJon Paul Maloy <jon.maloy@ericsson.com>2015-07-16 16:54:19 -0400
committerDavid S. Miller <davem@davemloft.net>2015-07-20 23:41:14 -0400
commit9d13ec65ede775f896c3da1cfa35283afe2f796c (patch)
tree34ac0c21607481a2377b3201c3fe58c3f6ac7947 /net/tipc/bcast.c
parent6acc23266054a9969737b435fa012f87465dbc50 (diff)
tipc: introduce link entry structure to struct tipc_node
struct 'tipc_node' currently contains two arrays for link attributes, one for the link pointers, and one for the usable link MTUs. We now group those into a new struct 'tipc_link_entry', and intoduce one single array consisting of such enties. Apart from being a cosmetic improvement, this is a starting point for the strict master-slave relation between node and link that we will introduce in the following commits. 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/bcast.c')
-rw-r--r--net/tipc/bcast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/bcast.c b/net/tipc/bcast.c
index a816382fc8af..59b2f2a538e1 100644
--- a/net/tipc/bcast.c
+++ b/net/tipc/bcast.c
@@ -413,7 +413,7 @@ static void bclink_accept_pkt(struct tipc_node *node, u32 seqno)
413 * all nodes in the cluster don't ACK at the same time 413 * all nodes in the cluster don't ACK at the same time
414 */ 414 */
415 if (((seqno - tn->own_addr) % TIPC_MIN_LINK_WIN) == 0) { 415 if (((seqno - tn->own_addr) % TIPC_MIN_LINK_WIN) == 0) {
416 tipc_link_proto_xmit(node->active_links[node->addr & 1], 416 tipc_link_proto_xmit(node_active_link(node, node->addr),
417 STATE_MSG, 0, 0, 0, 0); 417 STATE_MSG, 0, 0, 0, 0);
418 tn->bcl->stats.sent_acks++; 418 tn->bcl->stats.sent_acks++;
419 } 419 }