]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcf00afa46bbc938815e0aff02922a866e4d3e133
tree0c4d21174478529972f3b630f7b1daa6f018f134
parent13b757cfe83881df951674748f82390704f92707
tipc: avoid to asynchronously notify subscriptions

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