]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: use RTNL lock to protect tipc_net_stop routine
authorYing Xue <ying.xue@windriver.com>
Mon, 21 Apr 2014 02:55:44 +0000 (10:55 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Apr 2014 01:17:52 +0000 (21:17 -0400)
commitf9eef2745de4856fc04f021ec887b3026f3f21a7
tree2c3acf06e30c71220b54e873b14c6a5e497dd210
parentca47c9e3b61e27e79ec49d7d6db12306369bf728
tipc: use RTNL lock to protect tipc_net_stop routine

As the tipc network initialization(ie, tipc_net_start routine) is
under RTNL protection, its corresponding deinitialization part(ie,
tipc_net_stop routine) should be protected by RTNL too.

Signed-off-by: Ying Xue <ying.xue@windriver.com>
Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
Reviewed-by: Erik Hugne <erik.hugne@ericsson.com>
Tested-by: Erik Hugne <erik.hugne@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/net.c