tipc: make netlink support net namespace
authorYing Xue <ying.xue@windriver.com>
Fri, 9 Jan 2015 07:27:13 +0000 (15:27 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Jan 2015 21:24:34 +0000 (16:24 -0500)
commitd49e204161af6e47d8473423aa6856388c02f254
tree2c6016a7125322f3ce57402144ce7dc2c8e75c17
parentbafa29e34185fb70496bfd604dc9e4071049f023
tipc: make netlink support net namespace

Currently tipc module only allows users sitting on "init_net" namespace
to configure it through netlink interface. But now almost each tipc
component is able to be aware of net namespace, so it's time to open
the permission for users residing in other namespaces, allowing them
to configure their own tipc stack instance through netlink interface.

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/netlink.c