summaryrefslogtreecommitdiffstats
path: root/net/ipv4/udp.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-07-10 11:51:35 +0200
committerDavid S. Miller <davem@davemloft.net>2009-07-12 23:03:28 +0200
commit30ffee8480c13fbcf8ab6c28e31f79dfff683117 (patch)
treeca86e974221761b813811047286142804f906ee2 /net/ipv4/udp.c
parentgenetlink: make netns aware (diff)
downloadlinux-30ffee8480c13fbcf8ab6c28e31f79dfff683117.tar.xz
linux-30ffee8480c13fbcf8ab6c28e31f79dfff683117.zip
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>
Diffstat (limited to 'net/ipv4/udp.c')
0 files changed, 0 insertions, 0 deletions