1. 18 Sep, 2011 1 commit
  2. 24 Jun, 2011 1 commit
  3. 31 Mar, 2011 1 commit
  4. 13 Mar, 2011 5 commits
    • Paul Gortmaker's avatar
      tipc: cosmetic - function names are not to be full sentences · 8f19afb2
      Paul Gortmaker authored
      Function names like "tipc_node_has_redundant_links" are unweildy
      and result in long lines even for simple lines.  The "has" doesn't
      contribute any value add, so dropping that is a slight step in the
      right direction.   This is a cosmetic change, basic result of:
      for i in `grep -l tipc_node_has_ *` ; do sed -i s/tipc_node_has_/tipc_node_/ $i ; done
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
    • Allan Stephens's avatar
      tipc: Convert node object array to a hash table · 672d99e1
      Allan Stephens authored
      Replaces the dynamically allocated array of pointers to the cluster's
      node objects with a static hash table. Hash collisions are resolved
      using chaining, with a typical hash chain having only a single node,
      to avoid degrading performance during processing of incoming packets.
      The conversion to a hash table reduces the memory requirements for
      TIPC's node table to approximately the same size it had prior to
      the previous commit.
      In addition to the hash table itself, TIPC now also maintains a
      linked list for the node objects, sorted by ascending network address.
      This list allows TIPC to continue sending responses to user space
      applications that request node and link information in sorted order.
      The list also improves performance when name table update messages are
      sent by making it easier to identify the nodes that must be notified.
      Signed-off-by: default avatarAllan Stephens <allan.stephens@windriver.com>
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
    • Allan Stephens's avatar
      tipc: Split up unified structure of network-related variables · d1bcb115
      Allan Stephens authored
      Converts the fields of the global "tipc_net" structure into individual
      variables.  Since the struct was never referenced as a complete unit,
      its existence was pointless.  This will facilitate upcoming changes to
      TIPC's node table and simpify upcoming relocation of the variables so
      they are only visible to the files that actually use them.
      This change is essentially cosmetic in nature, and doesn't affect the
      operation of TIPC.
      Signed-off-by: default avatarAllan Stephens <allan.stephens@windriver.com>
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
    • Allan Stephens's avatar
      tipc: Cosmetic changes to node subscription code · f1379173
      Allan Stephens authored
      Relocates the code that notifies users of node subscriptions so that
      it is adjacent to the rest of the routines that implement TIPC's node
      subscription capability. Renames the name table routine that is
      invoked by a node subscription to better reflect its purpose and to
      be consistent with other, similar name table routines.
      These changes are cosmetic in nature, and do not alter the behavior
      of TIPC.
      Signed-off-by: default avatarAllan Stephens <Allan.Stephens@windriver.com>
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
    • Allan Stephens's avatar
      tipc: Prevent null pointer error when removing a node subscription · 431697eb
      Allan Stephens authored
      Prevents a null pointer dereference from occurring if a node subscription
      is triggered at the same time that the subscribing port or publication is
      terminating the subscription. The problem arises if the triggering routine
      asynchronously activates and deregisters the node subscription while
      deregistration is already underway -- the deregistration routine may find
      that the pointer it has just verified to be non-NULL is now NULL.
      To avoid this race condition the triggering routine now simply marks the
      node subscription as defunct (to prevent it from re-activating)
      instead of deregistering it. The subscription is now both deregistered
      and destroyed only when the subscribing port or publication code terminates
      the node subscription.
      Signed-off-by: default avatarAllan Stephens <Allan.Stephens@windriver.com>
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
  5. 01 Jan, 2011 5 commits
  6. 02 Dec, 2010 1 commit
  7. 16 Oct, 2010 1 commit
  8. 13 May, 2010 1 commit
  9. 05 Jun, 2008 1 commit
  10. 05 May, 2008 1 commit
  11. 11 Feb, 2007 1 commit
  12. 03 Dec, 2006 1 commit
  13. 19 Oct, 2006 1 commit
  14. 26 Jun, 2006 2 commits
  15. 18 Apr, 2006 1 commit
  16. 21 Mar, 2006 1 commit
  17. 17 Jan, 2006 1 commit
  18. 12 Jan, 2006 4 commits