OSDN Git Service

mib: put net statistics on struct net
[tomoyo/tomoyo-test1.git] / net / ipv4 / proc.c
index 2698bb2..ef38b1d 100644 (file)
@@ -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:");