]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit15e3e230a48852120667ddd06427677154bc6ab5
tree39d447aa3323210fda1835de5290fe3b1e309734
parent884dd23b4af11904bb61fb76d1f9ef5334cfeeef
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