Johannes Berg 30ffee8480 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>
2009-07-12 14:03:28 -07:00
..
2008-09-12 16:30:20 -07:00
2009-07-10 15:02:32 -04:00
2009-03-21 19:06:54 -07:00
2009-06-03 02:51:04 -07:00
2008-11-25 17:35:18 -08:00
2008-07-05 21:26:57 -07:00
2009-07-12 14:03:27 -07:00
2009-06-03 02:51:04 -07:00
2009-06-03 02:51:04 -07:00
2008-06-11 21:00:38 -07:00
2009-06-03 02:51:04 -07:00
2008-06-11 21:00:38 -07:00
2009-04-27 02:45:02 -07:00
2008-06-11 21:00:38 -07:00
2009-05-19 16:02:02 -07:00
2009-04-27 02:45:02 -07:00
2008-02-29 11:46:17 -08:00
2008-03-28 16:28:36 -07:00
2008-11-12 00:54:54 -08:00
2009-01-06 11:38:15 -07:00
2008-11-16 23:01:49 -08:00
2009-03-21 19:06:50 -07:00
2009-04-22 16:57:17 -04:00
2009-06-03 02:51:02 -07:00
2009-04-27 02:45:02 -07:00
2008-07-05 21:25:39 -07:00
2009-06-03 14:06:13 -04:00