]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: make tipc random value aware of net namespace
authorYing Xue <ying.xue@windriver.com>
Fri, 9 Jan 2015 07:27:12 +0000 (15:27 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Jan 2015 21:24:33 +0000 (16:24 -0500)
commitb68c93049f721204204b4df18625b2aa30ec69d0
treead8c2ab58340a54061d7ddb3735f9bd72ea704b0
parent93e14f2daba5bb36c802553e1ae9c951417a89c8
tipc: make tipc random value aware of net namespace

After namespace is supported, each namespace should own its private
random value. So the global variable representing the random value
must be moved to tipc_net structure.

Signed-off-by: Ying Xue <ying.xue@windriver.com>
Tested-by: Tero Aho <Tero.Aho@coriant.com>
Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/core.c
net/tipc/core.h
net/tipc/discover.c
net/tipc/link.c