Searched hist:c383edc42403b0bca31cbaabafd44dd58afb202f (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/net/ |
H A D | rtnetlink.h | diff c383edc42403b0bca31cbaabafd44dd58afb202f Tue Sep 04 14:53:47 CDT 2018 Christian Brauner <christian@brauner.io> rtnetlink: add rtnl_get_net_ns_capable()
get_target_net() will be used in follow-up patches in ipv{4,6} codepaths to retrieve network namespaces based on network namespace identifiers. So remove the static declaration and export in the rtnetlink header. Also, rename it to rtnl_get_net_ns_capable() to make it obvious what this function is doing. Export rtnl_get_net_ns_capable() so it can be used when ipv6 is built as a module.
Signed-off-by: Christian Brauner <christian@brauner.io> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/net/core/ |
H A D | rtnetlink.c | diff c383edc42403b0bca31cbaabafd44dd58afb202f Tue Sep 04 14:53:47 CDT 2018 Christian Brauner <christian@brauner.io> rtnetlink: add rtnl_get_net_ns_capable()
get_target_net() will be used in follow-up patches in ipv{4,6} codepaths to retrieve network namespaces based on network namespace identifiers. So remove the static declaration and export in the rtnetlink header. Also, rename it to rtnl_get_net_ns_capable() to make it obvious what this function is doing. Export rtnl_get_net_ns_capable() so it can be used when ipv6 is built as a module.
Signed-off-by: Christian Brauner <christian@brauner.io> Signed-off-by: David S. Miller <davem@davemloft.net>
|