tipc: Minor optimization to broadcast link synchronization logic
authorAllan Stephens <allan.stephens@windriver.com>
Fri, 4 Nov 2011 19:00:02 +0000 (15:00 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 24 Feb 2012 22:05:16 +0000 (17:05 -0500)
commit75aba9af2410ae8fc70600d9dcda0651f20e091e
treeecdc1296fab79f06bbe116aa6ac1b516858fd186
parent1cc35df847f7dba4ba06cb65bc41713df5d41404
tipc: Minor optimization to broadcast link synchronization logic

Optimizes processing done when contact with a neighboring node is
established to avoid recording the current state of outgoing broadcast
messages if the neighboring node isn't a valid broadcast link destination,
since this state information isn't needed for such nodes.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
net/tipc/node.c