]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: Ignore broadcast acknowledgements that are out-of-range
authorAllan Stephens <allan.stephens@windriver.com>
Mon, 24 Oct 2011 19:26:24 +0000 (15:26 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 27 Dec 2011 16:33:53 +0000 (11:33 -0500)
commit88f7df46d3e312a18d31aca03b3a22c2adffa579
tree441e42f4e55fedf7d262a3d43ba356a1598f36c5
parentefccfeadd9f0e975b9077031136d16f1e53821b4
tipc: Ignore broadcast acknowledgements that are out-of-range

Adds checks to TIPC's broadcast link so that it ignores any
acknowledgement message containing a sequence number that does not
correspond to an unacknowledged message currently in the broadcast
link's transmit queue.

This change prevents the broadcast link from becoming stalled if a
newly booted node receives stale broadcast link acknowledgement
information from another node that has not yet fully synchronized
its end of the broadcast link to reflect the current state of the
new node's end.

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