tipc: avoid to asynchronously reset all links
authorYing Xue <ying.xue@windriver.com>
Mon, 5 May 2014 00:56:17 +0000 (08:56 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 May 2014 21:26:45 +0000 (17:26 -0400)
commit3f5a12bd9f9a61d8a12f9adf778b14e4bb8ca050
tree4fe673edf946c5dbcbd472c04d5d20360d897c2e
parenteb8b00f5f248c50603bca383792ac3a618297be0
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>
net/tipc/bcast.c
net/tipc/bcast.h
net/tipc/link.c
net/tipc/link.h