From: Stephen Rothwell Date: Thu, 12 May 2011 03:51:13 +0000 (+1000) Subject: net: fix get_net_ns_by_fd for !CONFIG_NET_NS X-Git-Tag: v3.0-rc1~145^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=956c920786694f51601a0ef7ee12956fd6aa216e;p=pandora-kernel.git net: fix get_net_ns_by_fd for !CONFIG_NET_NS After merging the final tree, today's linux-next build (powerpc ppc44x_defconfig) failed like this: net/built-in.o: In function `get_net_ns_by_fd': (.text+0x11976): undefined reference to `netns_operations' net/built-in.o: In function `get_net_ns_by_fd': (.text+0x1197a): undefined reference to `netns_operations' netns_operations is only available if CONFIG_NET_NS is set ... Caused by commit f063052947f7 ("net: Allow setting the network namespace by fd"). Signed-off-by: Stephen Rothwell Signed-off-by: Eric W. Biederman --- Reading git-diff-tree failed