Searched hist:"30 ffee8480c13fbcf8ab6c28e31f79dfff683117" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/net/core/ |
H A D | net_namespace.c | diff 30ffee8480c13fbcf8ab6c28e31f79dfff683117 Fri Jul 10 04:51:35 CDT 2009 Johannes Berg <johannes@sipsolutions.net> net: move and export get_net_ns_by_pid
The function get_net_ns_by_pid(), to get a network namespace from a pid_t, will be required in cfg80211 as well. Therefore, let's move it to net_namespace.c and export it. We can't make it a static inline in the !NETNS case because it needs to verify that the given pid even exists (and return -ESRCH).
Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | rtnetlink.c | diff 30ffee8480c13fbcf8ab6c28e31f79dfff683117 Fri Jul 10 04:51:35 CDT 2009 Johannes Berg <johannes@sipsolutions.net> net: move and export get_net_ns_by_pid
The function get_net_ns_by_pid(), to get a network namespace from a pid_t, will be required in cfg80211 as well. Therefore, let's move it to net_namespace.c and export it. We can't make it a static inline in the !NETNS case because it needs to verify that the given pid even exists (and return -ESRCH).
Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/include/net/ |
H A D | net_namespace.h | diff 30ffee8480c13fbcf8ab6c28e31f79dfff683117 Fri Jul 10 04:51:35 CDT 2009 Johannes Berg <johannes@sipsolutions.net> net: move and export get_net_ns_by_pid
The function get_net_ns_by_pid(), to get a network namespace from a pid_t, will be required in cfg80211 as well. Therefore, let's move it to net_namespace.c and export it. We can't make it a static inline in the !NETNS case because it needs to verify that the given pid even exists (and return -ESRCH).
Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: David S. Miller <davem@davemloft.net>
|