summaryrefslogtreecommitdiffstats
path: root/net/ipv4/proc.c
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2008-07-18 04:03:08 -0700
committerDavid S. Miller <davem@davemloft.net>2008-07-18 04:03:08 -0700
commit61a7e26028b94805fd686a6dc9dbd9941f8f19b0 (patch)
tree2253a6f827a68ea5a7041456c5bfcac0d8e24138 /net/ipv4/proc.c
parenta20f5799ca7ceb24d63c74b6fdad4b0c0ee91f4f (diff)
downloadlinux-61a7e26028b94805fd686a6dc9dbd9941f8f19b0.tar.bz2
mib: put net statistics on struct net
Similar to ip and tcp ones :) Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/proc.c')
-rw-r--r--net/ipv4/proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/proc.c b/net/ipv4/proc.c
index 2698bb2ce98f..ef38b1dccfda 100644
--- a/net/ipv4/proc.c
+++ b/net/ipv4/proc.c
@@ -421,7 +421,7 @@ static int netstat_seq_show(struct seq_file *seq, void *v)
seq_puts(seq, "\nTcpExt:");
for (i = 0; snmp4_net_list[i].name != NULL; i++)
seq_printf(seq, " %lu",
- snmp_fold_field((void **)net_statistics,
+ snmp_fold_field((void **)init_net.mib.net_statistics,
snmp4_net_list[i].entry));
seq_puts(seq, "\nIpExt:");