netns: add support of NETNSA_TARGET_NSID
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Mon, 26 Nov 2018 14:42:04 +0000 (15:42 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Nov 2018 00:20:20 +0000 (16:20 -0800)
commitcff478b9d9ccaee0de0e02700c63addf007b5d3c
tree46a092a1086d179fa5ef72cbc56901ee68419567
parenta0732ad14d40ee7562c8c6e04b01af6134c82831
netns: add support of NETNSA_TARGET_NSID

Like it was done for link and address, add the ability to perform get/dump
in another netns by specifying a target nsid attribute.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/net_namespace.h
net/core/net_namespace.c