summaryrefslogtreecommitdiffstats
path: root/net/tipc/link.h
diff options
context:
space:
mode:
authorAllan Stephens <allan.stephens@windriver.com>2011-10-24 15:26:24 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-12-27 11:33:53 -0500
commit3655959143ebf1fd32e28a448d204be2f7f13e99 (patch)
tree441e42f4e55fedf7d262a3d43ba356a1598f36c5 /net/tipc/link.h
parent10745cd5990542447268f60078133df8b1ee960b (diff)
downloadtalos-obmc-linux-3655959143ebf1fd32e28a448d204be2f7f13e99.tar.gz
talos-obmc-linux-3655959143ebf1fd32e28a448d204be2f7f13e99.zip
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>
Diffstat (limited to 'net/tipc/link.h')
-rw-r--r--net/tipc/link.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/tipc/link.h b/net/tipc/link.h
index e56cb532913e..78792399d667 100644
--- a/net/tipc/link.h
+++ b/net/tipc/link.h
@@ -45,6 +45,12 @@
#define PUSH_FINISHED 2
/*
+ * Out-of-range value for link sequence numbers
+ */
+
+#define INVALID_LINK_SEQ 0x10000
+
+/*
* Link states
*/
OpenPOWER on IntegriCloud