From: YOSHIFUJI Hideaki Date: Tue, 25 Mar 2008 17:26:21 +0000 (+0900) Subject: [NET] NETNS: Omit sock->sk_net without CONFIG_NET_NS. X-Git-Tag: v2.6.26-rc1~1138^2~349^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b1e0a655f8eba44ab1ee2a1068d169ccfb853b9;p=pandora-kernel.git [NET] NETNS: Omit sock->sk_net without CONFIG_NET_NS. Introduce per-sock inlines: sock_net(), sock_net_set() and per-inet_timewait_sock inlines: twsk_net(), twsk_net_set(). Without CONFIG_NET_NS, no namespace other than &init_net exists. Let's explicitly define them to help compiler optimizations. Signed-off-by: YOSHIFUJI Hideaki --- Reading git-diff-tree failed