aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/link.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/link.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/link.c')
-rw-r--r--net/tipc/link.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/tipc/link.c b/net/tipc/link.c
index b73adeb5cdee..a572f0a27e0b 100644
--- a/net/tipc/link.c
+++ b/net/tipc/link.c
@@ -1746,10 +1746,6 @@ deliver:
1746 tipc_node_unlock(n_ptr); 1746 tipc_node_unlock(n_ptr);
1747 tipc_link_recv_bundle(buf); 1747 tipc_link_recv_bundle(buf);
1748 continue; 1748 continue;
1749 case ROUTE_DISTRIBUTOR:
1750 tipc_node_unlock(n_ptr);
1751 buf_discard(buf);
1752 continue;
1753 case NAME_DISTRIBUTOR: 1749 case NAME_DISTRIBUTOR:
1754 tipc_node_unlock(n_ptr); 1750 tipc_node_unlock(n_ptr);
1755 tipc_named_recv(buf); 1751 tipc_named_recv(buf);
@@ -1776,6 +1772,10 @@ deliver:
1776 goto protocol_check; 1772 goto protocol_check;
1777 } 1773 }
1778 break; 1774 break;
1775 default:
1776 buf_discard(buf);
1777 buf = NULL;
1778 break;
1779 } 1779 }
1780 } 1780 }
1781 tipc_node_unlock(n_ptr); 1781 tipc_node_unlock(n_ptr);