tipc: Remove prototype code for supporting slave nodes
Simplifies routines and data structures that were intended to allow TIPC to support slave nodes (i.e. nodes that did not have links to all of the other nodes in its cluster, forcing TIPC to route messages that it could not deliver directly through a non-slave node). Currently, TIPC supports only networks containing non-slave nodes, so this code is unnecessary. Note: The latest edition of the TIPC 2.0 Specification has eliminated the concept of slave nodes entirely. Signed-off-by: Allan Stephens <Allan.Stephens@windriver.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
51f98a8d70
commit
08c80e9a03
@@ -1110,10 +1110,7 @@ int tipc_connect2port(u32 ref, struct tipc_portid const *peer)
|
||||
msg_set_origport(msg, p_ptr->publ.ref);
|
||||
msg_set_transp_seqno(msg, 42);
|
||||
msg_set_type(msg, TIPC_CONN_MSG);
|
||||
if (!may_route(peer->node))
|
||||
msg_set_hdr_sz(msg, SHORT_H_SIZE);
|
||||
else
|
||||
msg_set_hdr_sz(msg, LONG_H_SIZE);
|
||||
msg_set_hdr_sz(msg, SHORT_H_SIZE);
|
||||
|
||||
p_ptr->probing_interval = PROBING_INTERVAL;
|
||||
p_ptr->probing_state = CONFIRMED;
|
||||
|
Reference in New Issue
Block a user