tipc: make discovery domain a bearer attribute
authorErik Hugne <erik.hugne@ericsson.com>
Fri, 28 Mar 2014 09:32:09 +0000 (10:32 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Mar 2014 18:46:29 +0000 (14:46 -0400)
commit16470111ed2aad67d2e2407aae2a8a53a4a38060
tree09049ec1857214f78c7bee8040eef6e66c0a971e
parenta21a584d6720ce349b05795b9bcfab3de8e58419
tipc: make discovery domain a bearer attribute

The node discovery domain is assigned when a bearer is enabled.
In the previous commit we reflect this attribute directly in the
bearer structure since it's needed to reinitialize the node
discovery mechanism after a hardware address change.

There's no need to replicate this attribute anywhere else, so we
remove it from the tipc_link_req structure.

Signed-off-by: Erik Hugne <erik.hugne@ericsson.com>
Reviewed-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/bearer.c
net/tipc/discover.c
net/tipc/discover.h