]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: Give Tx of discovery responses priority over link messages
authorAllan Stephens <Allan.Stephens@windriver.com>
Mon, 28 Feb 2011 15:56:23 +0000 (10:56 -0500)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 13 Mar 2011 20:35:18 +0000 (16:35 -0400)
commit0da0ae26b42e7a07d34ad06d8712a4c1b7787e42
treea4f826a7716a4d3c5c14b1e5f957646e03c202f4
parentd23567f4149679034673f3537847910ddd3daf78
tipc: Give Tx of discovery responses priority over link messages

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: Allan Stephens <Allan.Stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
net/tipc/discover.c