summaryrefslogtreecommitdiffstats
path: root/net/tipc/bcast.h
diff options
context:
space:
mode:
authorYing Xue <ying.xue@windriver.com>2014-05-05 08:56:17 +0800
committerDavid S. Miller <davem@davemloft.net>2014-05-05 17:26:45 -0400
commit3f5a12bd9f9a61d8a12f9adf778b14e4bb8ca050 (patch)
tree4fe673edf946c5dbcbd472c04d5d20360d897c2e /net/tipc/bcast.h
parenteb8b00f5f248c50603bca383792ac3a618297be0 (diff)
downloadlinux-stable-3f5a12bd9f9a61d8a12f9adf778b14e4bb8ca050.tar.gz
linux-stable-3f5a12bd9f9a61d8a12f9adf778b14e4bb8ca050.tar.bz2
linux-stable-3f5a12bd9f9a61d8a12f9adf778b14e4bb8ca050.zip
tipc: avoid to asynchronously reset all links
Postpone the actions of resetting all links until after bclink lock is released, avoiding to asynchronously reset all links. Signed-off-by: Ying Xue <ying.xue@windriver.com> Reviewed-by: Erik Hugne <erik.hugne@ericsson.com> Reviewed-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/bcast.h')
-rw-r--r--net/tipc/bcast.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/tipc/bcast.h b/net/tipc/bcast.h
index ea162c7b30ee..00330c45df3e 100644
--- a/net/tipc/bcast.h
+++ b/net/tipc/bcast.h
@@ -39,6 +39,7 @@
#define MAX_NODES 4096
#define WSIZE 32
+#define TIPC_BCLINK_RESET 1
/**
* struct tipc_node_map - set of node identifiers
@@ -83,6 +84,7 @@ void tipc_port_list_free(struct tipc_port_list *pl_ptr);
int tipc_bclink_init(void);
void tipc_bclink_stop(void);
+void tipc_bclink_set_flags(unsigned int flags);
void tipc_bclink_add_node(u32 addr);
void tipc_bclink_remove_node(u32 addr);
struct tipc_node *tipc_bclink_retransmit_to(void);