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>
This commit is contained in:

committed by
David S. Miller

parent
a21a584d67
commit
16470111ed
@@ -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);
|
||||
|
Reference in New Issue
Block a user