]> 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)
commitdff8023c50b9d6b4bb1dd7931e77d23673e9bb48
tree39d447aa3323210fda1835de5290fe3b1e309734
parentd6cebb6a81fc2b3ab15fe88ac53673db7090c312
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