tipc: improve the link deferred queue insertion algorithm
authorAllan Stephens <allan.stephens@windriver.com>
Tue, 25 Oct 2011 14:44:35 +0000 (10:44 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 6 Feb 2012 21:59:15 +0000 (16:59 -0500)
commit8809b255a9fca8c3179491d3bc9268c42e23ba97
treea4ce31a49a14f41fe5899aff951c853ce6629793
parent3238a9be4d7ad95c741bcfe6c147406eeef62d95
tipc: improve the link deferred queue insertion algorithm

Re-code the algorithm for inserting an out-of-sequence message into
a unicast or broadcast link's deferred message queue.  It remains
functionally equivalent but should be easier to understand/maintain.

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