]> 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)
commit889d806d270eab625ac3be8b41a640f9a8a0a0ac
treead8c2ab58340a54061d7ddb3735f9bd72ea704b0
parentd246ad4d7233a3431b5483e1c1e7b54a69135039
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