tipc: Eliminate remaining support for routing table messages
Gets rid of all remaining code relating to ROUTE_DISTRIBUTOR messages. These messages were only used in multi-cluster and multi-zone networks, which TIPC no longer supports. (For safety, TIPC now treats such messages the same way that it handles other unrecognized messages.) Signed-off-by: Allan Stephens <allan.stephens@windriver.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
This commit is contained in:
committed by
Paul Gortmaker
parent
50d492321a
commit
7945c1fb02
@@ -274,33 +274,6 @@ void tipc_msg_dbg(struct print_buf *buf, struct tipc_msg *msg, const char *str)
|
||||
tipc_printf(buf, "UNKNOWN TYPE:%x", msg_type(msg));
|
||||
}
|
||||
break;
|
||||
case ROUTE_DISTRIBUTOR:
|
||||
tipc_printf(buf, "ROUTING_MNG:");
|
||||
switch (msg_type(msg)) {
|
||||
case EXT_ROUTING_TABLE:
|
||||
tipc_printf(buf, "EXT_TBL:");
|
||||
tipc_printf(buf, "TO:%x:", msg_remote_node(msg));
|
||||
break;
|
||||
case LOCAL_ROUTING_TABLE:
|
||||
tipc_printf(buf, "LOCAL_TBL:");
|
||||
tipc_printf(buf, "TO:%x:", msg_remote_node(msg));
|
||||
break;
|
||||
case SLAVE_ROUTING_TABLE:
|
||||
tipc_printf(buf, "DP_TBL:");
|
||||
tipc_printf(buf, "TO:%x:", msg_remote_node(msg));
|
||||
break;
|
||||
case ROUTE_ADDITION:
|
||||
tipc_printf(buf, "ADD:");
|
||||
tipc_printf(buf, "TO:%x:", msg_remote_node(msg));
|
||||
break;
|
||||
case ROUTE_REMOVAL:
|
||||
tipc_printf(buf, "REMOVE:");
|
||||
tipc_printf(buf, "TO:%x:", msg_remote_node(msg));
|
||||
break;
|
||||
default:
|
||||
tipc_printf(buf, "UNKNOWN TYPE:%x", msg_type(msg));
|
||||
}
|
||||
break;
|
||||
case LINK_CONFIG:
|
||||
tipc_printf(buf, "CFG:");
|
||||
switch (msg_type(msg)) {
|
||||
|
Reference in New Issue
Block a user