1. 30 12月, 2011 1 次提交
  2. 28 12月, 2011 2 次提交
  3. 18 9月, 2011 1 次提交
    • A
      tipc: Ensure both nodes recognize loss of contact between them · b4b56102
      Allan Stephens 提交于
      Enhances TIPC to ensure that a node that loses contact with a
      neighboring node does not allow contact to be re-established until
      it sees that its peer has also recognized the loss of contact.
      
      Previously, nodes that were connected by two or more links could
      encounter a situation in which node A would lose contact with node B
      on all of its links, purge its name table of names published by B,
      and then fail to repopulate those names once contact with B was restored.
      This would happen because B was able to re-establish one or more links
      so quickly that it never reached a point where it had no links to A --
      meaning that B never saw a loss of contact with A, and consequently
      didn't re-publish its names to A.
      
      This problem is now prevented by enhancing the cleanup done by TIPC
      following a loss of contact with a neighboring node to ensure that
      node A ignores all messages sent by B until it receives a LINK_PROTOCOL
      message that indicates B has lost contact with A, thereby preventing
      the (re)establishment of links between the nodes. The loss of contact
      is recognized when a RESET or ACTIVATE message is received that has
      a "redundant link exists" field of 0, indicating that B's sending link
      endpoint is in a reset state and that B has no other working links.
      
      Additionally, TIPC now suppresses the sending of (most) link protocol
      messages to a neighboring node while it is cleaning up after an earlier
      loss of contact with that node. This stops the peer node from prematurely
      activating its link endpoint, which would prevent TIPC from later
      activating its own end. TIPC still allows outgoing RESET messages to
      occur during cleanup, to avoid problems if its own node recognizes
      the loss of contact first and tries to notify the peer of the situation.
      
      Finally, TIPC now recognizes an impending loss of contact with a peer node
      as soon as it receives a RESET message on a working link that is the
      peer's only link to the node, and ensures that the link protocol
      suppression mentioned above goes into effect right away -- that is,
      even before its own link endpoints have failed. This is necessary to
      ensure correct operation when there are redundant links between the nodes,
      since otherwise TIPC would send an ACTIVATE message upon receiving a RESET
      on its first link and only begin suppressing when a RESET on its second
      link was received, instead of initiating suppression with the first RESET
      message as it needs to.
      
      Note: The reworked cleanup code also eliminates a check that prevented
      a link endpoint's discovery object from responding to incoming messages
      while stale name table entries are being purged. This check is now
      unnecessary and would have slowed down re-establishment of communication
      between the nodes in some situations.
      Signed-off-by: NAllan Stephens <allan.stephens@windriver.com>
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      b4b56102
  4. 01 9月, 2011 2 次提交
    • A
      tipc: Prevent broadcast link stalling when another node fails · 169073db
      Allan Stephens 提交于
      Ensure that broadcast link messages that have not been acknowledged
      by a newly failed node do not get an implied acknowledgement until the
      failed node is removed from the broadcast link's map of reachable nodes.
      
      Previously, a race condition allowed a new broadcast link message to be
      sent after the implicit acknowledgement processing was completed, but
      before the map of reachable nodes was updated, resulting in the message
      having an expected acknowledgement count that required the failed node
      to explicitly acknowledge the message. Since this would never occur
      the new message would remain in the broadcast link's transmit queue
      forever, eventually causing the link to become congested and "stall".
      Delaying the implicit acknowledgement processing until after the update
      of the map of reachable nodes eliminates this race condition and prevents
      stalling.
      Signed-off-by: NAllan Stephens <allan.stephens@windriver.com>
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      169073db
    • A
      tipc: Enhance cleanup of broadcast link when contact with node is lost · c5bd4d85
      Allan Stephens 提交于
      Enhances cleanup of broadcast link-related information when contact
      with a node is lost.
      
      1) All broadcast link-related cleanup now occurs only if the lost node
         was capable of communicating over the broadcast link.
      
      2) Following cleanup, the lost node is marked as no longer supporting
         the broadcast link, ensuring that any remaining broadcast messages
         received from that node prior to the re-establishment of a normal
         communication link are ignored.
      
      Thanks to Surya [Suryanarayana.Garlapati@emerson.com] for contributing
      a prototype version of this patch.
      Signed-off-by: NAllan Stephens <allan.stephens@windriver.com>
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      c5bd4d85
  5. 14 3月, 2011 10 次提交
  6. 24 2月, 2011 1 次提交
    • A
      tipc: Combine bearer structure with tipc_bearer structure · 2d627b92
      Allan Stephens 提交于
      Combines two distinct structures containing information about a TIPC bearer
      into a single structure. The structures were previously kept separate so
      that public information about a bearer could be made available to plug-in
      media types using TIPC's native API, while the remaining information was
      kept private for use by TIPC itself. However, now that the native API has
      been removed there is no longer any need for this arrangement.
      
      Since one of the structures was already embedded within the other, the
      change largely involves replacing instances of "publ.foo" with "foo".
      The changes do not otherwise alter the operation of TIPC bearers.
      Signed-off-by: NAllan Stephens <Allan.Stephens@windriver.com>
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      2d627b92
  7. 02 1月, 2011 9 次提交
  8. 03 12月, 2010 2 次提交
  9. 17 10月, 2010 1 次提交
  10. 14 10月, 2010 1 次提交
  11. 24 9月, 2010 1 次提交
  12. 18 8月, 2010 2 次提交
  13. 13 5月, 2010 1 次提交
  14. 25 3月, 2010 1 次提交
  15. 19 3月, 2009 1 次提交
  16. 03 9月, 2008 1 次提交
  17. 15 7月, 2008 1 次提交
  18. 22 5月, 2008 1 次提交
  19. 03 8月, 2007 1 次提交