OSDN Git Service

tipc: avoid to asynchronously deliver name tables to peer node
authorYing Xue <ying.xue@windriver.com>
Mon, 5 May 2014 00:56:14 +0000 (08:56 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 May 2014 21:26:44 +0000 (17:26 -0400)
commitca0c42732c512a12fabe677594840f31861dd31a
tree80f703e28c77128d77006e47b9e6a9c8735fb5df
parent9d561949685749be3d97239eab7d85aa78718108
tipc: avoid to asynchronously deliver name tables to peer node

Postpone the actions of delivering name tables until after node
lock is released, avoiding to do it under asynchronous context.

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/name_distr.c
net/tipc/name_distr.h
net/tipc/node.c
net/tipc/node.h