tipc: avoid to asynchronously notify subscriptions
authorYing Xue <ying.xue@windriver.com>
Mon, 5 May 2014 00:56:12 +0000 (08:56 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 May 2014 21:26:44 +0000 (17:26 -0400)
Postpone the actions of notifying subscriptions until after node lock
is released, avoiding to asynchronously execute registered handlers
when node is lost.

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

diff --cc net/tipc/node.c
Simple merge
diff --cc net/tipc/node.h
Simple merge
Simple merge
Simple merge