1. 25 2月, 2012 1 次提交
  2. 07 2月, 2012 1 次提交
  3. 30 12月, 2011 1 次提交
  4. 28 12月, 2011 1 次提交
  5. 18 9月, 2011 3 次提交
  6. 25 6月, 2011 1 次提交
  7. 31 3月, 2011 1 次提交
  8. 14 3月, 2011 5 次提交
    • P
      tipc: cosmetic - function names are not to be full sentences · 8f19afb2
      Paul Gortmaker 提交于
      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: NPaul Gortmaker <paul.gortmaker@windriver.com>
      8f19afb2
    • A
      tipc: Convert node object array to a hash table · 672d99e1
      Allan Stephens 提交于
      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: NAllan Stephens <allan.stephens@windriver.com>
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      672d99e1
    • A
      tipc: Split up unified structure of network-related variables · d1bcb115
      Allan Stephens 提交于
      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: NAllan Stephens <allan.stephens@windriver.com>
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      d1bcb115
    • A
      tipc: Cosmetic changes to node subscription code · f1379173
      Allan Stephens 提交于
      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: NAllan Stephens <Allan.Stephens@windriver.com>
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      f1379173
    • A
      tipc: Prevent null pointer error when removing a node subscription · 431697eb
      Allan Stephens 提交于
      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: NAllan Stephens <Allan.Stephens@windriver.com>
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      431697eb
  9. 02 1月, 2011 5 次提交
  10. 03 12月, 2010 1 次提交
  11. 17 10月, 2010 1 次提交
  12. 13 5月, 2010 1 次提交
  13. 05 6月, 2008 1 次提交
  14. 05 5月, 2008 1 次提交
  15. 11 2月, 2007 1 次提交
  16. 03 12月, 2006 1 次提交
  17. 19 10月, 2006 1 次提交
  18. 26 6月, 2006 2 次提交
  19. 19 4月, 2006 1 次提交
  20. 21 3月, 2006 1 次提交
  21. 18 1月, 2006 1 次提交
  22. 13 1月, 2006 4 次提交