diff options
author | Erik Hugne <erik.hugne@ericsson.com> | 2014-03-28 10:32:09 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-28 14:46:29 -0400 |
commit | 16470111ed2aad67d2e2407aae2a8a53a4a38060 (patch) | |
tree | 09049ec1857214f78c7bee8040eef6e66c0a971e /net/tipc/discover.h | |
parent | a21a584d6720ce349b05795b9bcfab3de8e58419 (diff) | |
download | linux-16470111ed2aad67d2e2407aae2a8a53a4a38060.tar.bz2 |
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>
Diffstat (limited to 'net/tipc/discover.h')
-rw-r--r-- | net/tipc/discover.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/tipc/discover.h b/net/tipc/discover.h index b4fc962c3623..07f34729459d 100644 --- a/net/tipc/discover.h +++ b/net/tipc/discover.h @@ -39,8 +39,7 @@ struct tipc_link_req; -int tipc_disc_create(struct tipc_bearer *b_ptr, struct tipc_media_addr *dest, - u32 dest_domain); +int tipc_disc_create(struct tipc_bearer *b_ptr, struct tipc_media_addr *dest); void tipc_disc_delete(struct tipc_link_req *req); void tipc_disc_add_dest(struct tipc_link_req *req); void tipc_disc_remove_dest(struct tipc_link_req *req); |