mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
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>
This commit is contained in:
parent
5f6d9123f1
commit
1cc35df847
1 changed files with 0 additions and 46 deletions
|
@ -266,52 +266,6 @@ void tipc_node_detach_link(struct tipc_node *n_ptr, struct tipc_link *l_ptr)
|
|||
n_ptr->link_cnt--;
|
||||
}
|
||||
|
||||
/*
|
||||
* Routing table management - five cases to handle:
|
||||
*
|
||||
* 1: A link towards a zone/cluster external node comes up.
|
||||
* => Send a multicast message updating routing tables of all
|
||||
* system nodes within own cluster that the new destination
|
||||
* can be reached via this node.
|
||||
* (node.establishedContact()=>cluster.multicastNewRoute())
|
||||
*
|
||||
* 2: A link towards a slave node comes up.
|
||||
* => Send a multicast message updating routing tables of all
|
||||
* system nodes within own cluster that the new destination
|
||||
* can be reached via this node.
|
||||
* (node.establishedContact()=>cluster.multicastNewRoute())
|
||||
* => Send a message to the slave node about existence
|
||||
* of all system nodes within cluster:
|
||||
* (node.establishedContact()=>cluster.sendLocalRoutes())
|
||||
*
|
||||
* 3: A new cluster local system node becomes available.
|
||||
* => Send message(s) to this particular node containing
|
||||
* information about all cluster external and slave
|
||||
* nodes which can be reached via this node.
|
||||
* (node.establishedContact()==>network.sendExternalRoutes())
|
||||
* (node.establishedContact()==>network.sendSlaveRoutes())
|
||||
* => Send messages to all directly connected slave nodes
|
||||
* containing information about the existence of the new node
|
||||
* (node.establishedContact()=>cluster.multicastNewRoute())
|
||||
*
|
||||
* 4: The link towards a zone/cluster external node or slave
|
||||
* node goes down.
|
||||
* => Send a multcast message updating routing tables of all
|
||||
* nodes within cluster that the new destination can not any
|
||||
* longer be reached via this node.
|
||||
* (node.lostAllLinks()=>cluster.bcastLostRoute())
|
||||
*
|
||||
* 5: A cluster local system node becomes unavailable.
|
||||
* => Remove all references to this node from the local
|
||||
* routing tables. Note: This is a completely node
|
||||
* local operation.
|
||||
* (node.lostAllLinks()=>network.removeAsRouter())
|
||||
* => Send messages to all directly connected slave nodes
|
||||
* containing information about loss of the node
|
||||
* (node.establishedContact()=>cluster.multicastLostRoute())
|
||||
*
|
||||
*/
|
||||
|
||||
static void node_established_contact(struct tipc_node *n_ptr)
|
||||
{
|
||||
tipc_k_signal((Handler)tipc_named_node_up, n_ptr->addr);
|
||||
|
|
Loading…
Reference in a new issue