From: YOSHIFUJI Hideaki Date: Tue, 25 Mar 2008 12:47:49 +0000 (+0900) Subject: [NET] NETNS: Omit net_device->nd_net without CONFIG_NET_NS. X-Git-Tag: v2.6.26-rc1~1138^2~349^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c346dca10840a874240c78efe3f39acf4312a1f2;p=pandora-kernel.git [NET] NETNS: Omit net_device->nd_net without CONFIG_NET_NS. Introduce per-net_device inlines: dev_net(), dev_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