diff options
author | Allan Stephens <allan.stephens@windriver.com> | 2011-11-04 14:54:06 -0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-02-24 17:05:16 -0500 |
commit | 1cc35df847f7dba4ba06cb65bc41713df5d41404 (patch) | |
tree | bc7791314d2cf0e34a9a2bbc8a942df207433b3d /net/tipc | |
parent | 5f6d9123f1c7ef7297b0da1620988fe16c738e75 (diff) |
tipc: Remove obsolete comments about routing table updates
Eliminates a block of comments that describe how routing table updates
are to be handled. These comments no longer apply following the removal
of TIPC's prototype multi-cluster support.
Note that these changes are essentially cosmetic in nature, and have
no impact on the actual operation of TIPC.
Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'net/tipc')
-rw-r--r-- | net/tipc/node.c | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/net/tipc/node.c b/net/tipc/node.c index 24c42f7568ac..d7f8b7be3d8f 100644 --- a/net/tipc/node.c +++ b/net/tipc/node.c | |||
@@ -266,52 +266,6 @@ void tipc_node_detach_link(struct tipc_node *n_ptr, struct tipc_link *l_ptr) | |||
266 | n_ptr->link_cnt--; | 266 | n_ptr->link_cnt--; |
267 | } | 267 | } |
268 | 268 | ||
269 | /* | ||
270 | * Routing table management - five cases to handle: | ||
271 | * | ||
272 | * 1: A link towards a zone/cluster external node comes up. | ||
273 | * => Send a multicast message updating routing tables of all | ||
274 | * system nodes within own cluster that the new destination | ||
275 | * can be reached via this node. | ||
276 | * (node.establishedContact()=>cluster.multicastNewRoute()) | ||
277 | * | ||
278 | * 2: A link towards a slave node comes up. | ||
279 | * => Send a multicast message updating routing tables of all | ||
280 | * system nodes within own cluster that the new destination | ||
281 | * can be reached via this node. | ||
282 | * (node.establishedContact()=>cluster.multicastNewRoute()) | ||
283 | * => Send a message to the slave node about existence | ||
284 | * of all system nodes within cluster: | ||
285 | * (node.establishedContact()=>cluster.sendLocalRoutes()) | ||
286 | * | ||
287 | * 3: A new cluster local system node becomes available. | ||
288 | * => Send message(s) to this particular node containing | ||
289 | * information about all cluster external and slave | ||
290 | * nodes which can be reached via this node. | ||
291 | * (node.establishedContact()==>network.sendExternalRoutes()) | ||
292 | * (node.establishedContact()==>network.sendSlaveRoutes()) | ||
293 | * => Send messages to all directly connected slave nodes | ||
294 | * containing information about the existence of the new node | ||
295 | * (node.establishedContact()=>cluster.multicastNewRoute()) | ||
296 | * | ||
297 | * 4: The link towards a zone/cluster external node or slave | ||
298 | * node goes down. | ||
299 | * => Send a multcast message updating routing tables of all | ||
300 | * nodes within cluster that the new destination can not any | ||
301 | * longer be reached via this node. | ||
302 | * (node.lostAllLinks()=>cluster.bcastLostRoute()) | ||
303 | * | ||
304 | * 5: A cluster local system node becomes unavailable. | ||
305 | * => Remove all references to this node from the local | ||
306 | * routing tables. Note: This is a completely node | ||
307 | * local operation. | ||
308 | * (node.lostAllLinks()=>network.removeAsRouter()) | ||
309 | * => Send messages to all directly connected slave nodes | ||
310 | * containing information about loss of the node | ||
311 | * (node.establishedContact()=>cluster.multicastLostRoute()) | ||
312 | * | ||
313 | */ | ||
314 | |||
315 | static void node_established_contact(struct tipc_node *n_ptr) | 269 | static void node_established_contact(struct tipc_node *n_ptr) |
316 | { | 270 | { |
317 | tipc_k_signal((Handler)tipc_named_node_up, n_ptr->addr); | 271 | tipc_k_signal((Handler)tipc_named_node_up, n_ptr->addr); |