]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
tipc: Introduce node signature field in neighbor discovery message
authorAllan Stephens <allan.stephens@windriver.com>
Fri, 28 Oct 2011 20:26:41 +0000 (16:26 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 24 Feb 2012 22:05:13 +0000 (17:05 -0500)
commitfc0eea691a06ba8516795fb7a198239fb9db1cfc
treedfdcf4a88224cb919cc95641788b5eba58d0bd10
parent7c3a95a15ad2a5278498a72df0463131048926a3
tipc: Introduce node signature field in neighbor discovery message

Adds support for the new "node signature" in neighbor discovery messages,
which is a 16 bit identifier chosen randomly when TIPC is initialized.
This field makes it possible for nodes receiving a neighbor discovery
message to detect if multiple neighboring nodes are using the same network
address (i.e. <Z.C.N>), even when the messages are arriving on different
interfaces.

This first phase of node signature support creates the signature,
incorporates it into outgoing neighbor discovery messages, and tracks
the signature used by valid neighbors. An upcoming patch builds on this
foundation to implement the improved duplicate neighbor detection checking.

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