aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/msg.c
diff options
context:
space:
mode:
authorAllan Stephens <allan.stephens@windriver.com>2011-03-11 13:09:28 -0500
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-03-13 16:35:19 -0400
commit7945c1fb02ef08316df8c054ce180bf3f4e35ae4 (patch)
tree3c1be570b0d4239a7c946a558363b63cc15e0046 /net/tipc/msg.c
parent50d492321a2d94aa2ff5e26e73af08d937f8acb0 (diff)
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>
Diffstat (limited to 'net/tipc/msg.c')
-rw-r--r--net/tipc/msg.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/net/tipc/msg.c b/net/tipc/msg.c
index b694c9acadc6..0562b38a6c13 100644
--- a/net/tipc/msg.c
+++ b/net/tipc/msg.c
@@ -274,33 +274,6 @@ void tipc_msg_dbg(struct print_buf *buf, struct tipc_msg *msg, const char *str)
274 tipc_printf(buf, "UNKNOWN TYPE:%x", msg_type(msg)); 274 tipc_printf(buf, "UNKNOWN TYPE:%x", msg_type(msg));
275 } 275 }
276 break; 276 break;
277 case ROUTE_DISTRIBUTOR:
278 tipc_printf(buf, "ROUTING_MNG:");
279 switch (msg_type(msg)) {
280 case EXT_ROUTING_TABLE:
281 tipc_printf(buf, "EXT_TBL:");
282 tipc_printf(buf, "TO:%x:", msg_remote_node(msg));
283 break;
284 case LOCAL_ROUTING_TABLE:
285 tipc_printf(buf, "LOCAL_TBL:");
286 tipc_printf(buf, "TO:%x:", msg_remote_node(msg));
287 break;
288 case SLAVE_ROUTING_TABLE:
289 tipc_printf(buf, "DP_TBL:");
290 tipc_printf(buf, "TO:%x:", msg_remote_node(msg));
291 break;
292 case ROUTE_ADDITION:
293 tipc_printf(buf, "ADD:");
294 tipc_printf(buf, "TO:%x:", msg_remote_node(msg));
295 break;
296 case ROUTE_REMOVAL:
297 tipc_printf(buf, "REMOVE:");
298 tipc_printf(buf, "TO:%x:", msg_remote_node(msg));
299 break;
300 default:
301 tipc_printf(buf, "UNKNOWN TYPE:%x", msg_type(msg));
302 }
303 break;
304 case LINK_CONFIG: 277 case LINK_CONFIG:
305 tipc_printf(buf, "CFG:"); 278 tipc_printf(buf, "CFG:");
306 switch (msg_type(msg)) { 279 switch (msg_type(msg)) {