tipc: Fix problem with broadcast link synchronization between nodes
authorAllan Stephens <allan.stephens@windriver.com>
Wed, 26 Oct 2011 14:55:16 +0000 (10:55 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 6 Feb 2012 21:59:16 +0000 (16:59 -0500)
commit47361c87c504d89f1ba50b4230d56ef67792c258
treed3897f3b791c74d8a17c612243a04ee309b04eee
parent934993137199ffb56fef50664f87e71cdb3471b0
tipc: Fix problem with broadcast link synchronization between nodes

Corrects a problem in which a link endpoint that activates as the
result of receiving a RESET/STATE sequence of link protocol messages
fails to properly record the broadcast link status information about
the node to which it is now communicating with. (The problem does
not occur with the more common RESET/ACTIVATE sequence of messages.)
The fix ensures that the broadcast link status info is updated after
the RESET message resets the link endpoint, rather than before, thereby
preventing new information from being overwritten by the reset operation.

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