1. 14 3月, 2011 3 次提交
    • A
      tipc: Optimizations to link creation code · 37b9c08a
      Allan Stephens 提交于
      Enhances link creation code as follows:
      
      1) Detects illegal attempts to add a requested link earlier in the
         link creation process. This prevents TIPC from wasting time
         initializing a link object it then throws away, and also eliminates
         the code needed to do the throwing away.
      
      2) Passes in the node object associated with the requested link.
         This allows TIPC to eliminate a search to locate the node object,
         as well as code that attempted to create the node if it doesn't
         exist.
      Signed-off-by: NAllan Stephens <Allan.Stephens@windriver.com>
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      37b9c08a
    • A
      tipc: Give Tx of discovery responses priority over link messages · fa2bae2d
      Allan Stephens 提交于
      Delay releasing the node lock when processing a neighbor discovery
      message until after the optional discovery response message has been
      sent. This helps ensure that any link protocol messages sent by a
      link endpoint created as a result of a neighbor discovery request
      are received after the discovery response is received, thereby
      giving the receiving node a chance to create a peer link endpoint to
      consume those link protocol messages, if one does not already exist.
      Signed-off-by: NAllan Stephens <Allan.Stephens@windriver.com>
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      fa2bae2d
    • A
      tipc: Cosmetic changes to neighbor discovery logic · a728750e
      Allan Stephens 提交于
      Reworks the appearance of the routine that processes incoming
      LINK_CONFIG messages to keep the main logic flow at a consistent level
      of indentation, and to add comments outlining the various phases involved
      in processing each message. This rework is being done to allow upcoming
      enhancements to this routine to be integrated more cleanly.
      
      The diff isn't really readable, so know that it was a case of the
      old code being like:
      
      	tipc_disc_recv_msg(..)
      	{
      		if (in_own_cluster(orig)) {
      			...
      			lines and lines of stuff
      			...
      		}
      	}
      
      which is now replaced with the more sane:
      
      	tipc_disc_recv_msg(..)
      	{
      		if (!in_own_cluster(orig))
      			return;
      		...
      		lines and lines of stuff
      		...
      	}
      
      Instances of spin locking within the reindented block were replaced with
      the identical tipc_node_[un]lock() abstractions.  Note that all these
      changes are cosmetic in nature, and do not change the way LINK_CONFIG
      messages are processed.
      Signed-off-by: NAllan Stephens <Allan.Stephens@windriver.com>
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      a728750e
  2. 24 2月, 2011 2 次提交
  3. 02 1月, 2011 4 次提交
  4. 03 12月, 2010 1 次提交
  5. 17 10月, 2010 1 次提交
  6. 14 10月, 2010 1 次提交
  7. 18 8月, 2010 1 次提交
  8. 13 5月, 2010 2 次提交
  9. 03 9月, 2008 1 次提交
  10. 05 6月, 2008 3 次提交
  11. 22 5月, 2008 1 次提交
  12. 11 2月, 2007 1 次提交
  13. 19 10月, 2006 2 次提交
  14. 22 7月, 2006 1 次提交
  15. 26 6月, 2006 2 次提交
  16. 21 3月, 2006 1 次提交
  17. 18 1月, 2006 1 次提交
  18. 13 1月, 2006 4 次提交