tipc: Prevent transmission of outdated link protocol messages
authorAllan Stephens <allan.stephens@windriver.com>
Tue, 25 Oct 2011 15:20:26 +0000 (11:20 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 6 Feb 2012 21:59:15 +0000 (16:59 -0500)
commit92d2c905b404d8d056ce35a0ce645e23529742c2
tree39d447aa3323210fda1835de5290fe3b1e309734
parent8809b255a9fca8c3179491d3bc9268c42e23ba97
tipc: Prevent transmission of outdated link protocol messages

Ensures that a link endpoint discards any previously deferred link
protocol message whenever it attempts to send a new one.

Previously, it was possible for a link protocol message that was unsent
due to congestion to be transmitted after newer protocol messages had
been sent. The stale link protocol message might then cause the receiving
link endpoint to malfunction because of its outdated conent.

Thanks to Osamu Kaminuma [okaminum@avaya.com] for diagnosing the problem
and contributing a prototype patch.

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