[NET] NETNS: Omit seq_net_private->net without CONFIG_NET_NS.
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Tue, 25 Mar 2008 17:36:06 +0000 (02:36 +0900)
committerYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Tue, 25 Mar 2008 19:39:56 +0000 (04:39 +0900)
commit1218854afa6f659be90b748cf1bc7badee954a35
tree78b83e3941fa7e5a03c04e2e4f6ddb1a08ea38a0
parent3b1e0a655f8eba44ab1ee2a1068d169ccfb853b9
[NET] NETNS: Omit seq_net_private->net without CONFIG_NET_NS.

Without CONFIG_NET_NS, no namespace other than &init_net exists,
no need to store net in seq_net_private.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
12 files changed:
fs/proc/proc_net.c
include/linux/seq_file.h
net/core/neighbour.c
net/ipv4/fib_hash.c
net/ipv4/fib_trie.c
net/ipv4/raw.c
net/ipv4/route.c
net/ipv6/addrconf.c
net/ipv6/mcast.c
net/netfilter/x_tables.c
net/netlink/af_netlink.c
net/unix/af_unix.c