aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/link.c
diff options
context:
space:
mode:
authorYing Xue <ying.xue@windriver.com>2012-11-16 00:51:29 -0500
committerPaul Gortmaker <paul.gortmaker@windriver.com>2012-11-22 07:50:50 -0500
commit818f4da526656a100c637b098be06316fd4624e4 (patch)
tree0b94923bf039d6f2972d9177bc713b3456511bae /net/tipc/link.c
parent3c294cb374bf7ad6f5c2763f994d75935fb7814d (diff)
tipc: remove supportable flag from bclink structure
The "supportable" flag in bclink structure is a compatibility flag indicating whether a peer node is capable of receiving TIPC broadcast messages. However, all TIPC versions since tipc-1.5, and after the inclusion in the upstream Linux kernel in 2006, support this capability. It is highly unlikely that anybody is still using such an old version of TIPC, let alone that they want to mix it with TIPC-2.0 nodes. Therefore, we now remove the "supportable" flag. Signed-off-by: Ying Xue <ying.xue@windriver.com> Signed-off-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'net/tipc/link.c')
-rw-r--r--net/tipc/link.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/tipc/link.c b/net/tipc/link.c
index 0cc64800ab93..f3a078fe70c8 100644
--- a/net/tipc/link.c
+++ b/net/tipc/link.c
@@ -1426,8 +1426,7 @@ static void link_retransmit_failure(struct tipc_link *l_ptr,
1426 1426
1427 tipc_addr_string_fill(addr_string, n_ptr->addr); 1427 tipc_addr_string_fill(addr_string, n_ptr->addr);
1428 pr_info("Broadcast link info for %s\n", addr_string); 1428 pr_info("Broadcast link info for %s\n", addr_string);
1429 pr_info("Supportable: %d, Supported: %d, Acked: %u\n", 1429 pr_info("Supported: %d, Acked: %u\n",
1430 n_ptr->bclink.supportable,
1431 n_ptr->bclink.supported, 1430 n_ptr->bclink.supported,
1432 n_ptr->bclink.acked); 1431 n_ptr->bclink.acked);
1433 pr_info("Last in: %u, Oos state: %u, Last sent: %u\n", 1432 pr_info("Last in: %u, Oos state: %u, Last sent: %u\n",
@@ -2014,7 +2013,6 @@ static void link_recv_proto_msg(struct tipc_link *l_ptr, struct sk_buff *buf)
2014 } else { 2013 } else {
2015 l_ptr->max_pkt = l_ptr->max_pkt_target; 2014 l_ptr->max_pkt = l_ptr->max_pkt_target;
2016 } 2015 }
2017 l_ptr->owner->bclink.supportable = (max_pkt_info != 0);
2018 2016
2019 /* Synchronize broadcast link info, if not done previously */ 2017 /* Synchronize broadcast link info, if not done previously */
2020 if (!tipc_node_is_up(l_ptr->owner)) { 2018 if (!tipc_node_is_up(l_ptr->owner)) {