aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/proc.c')
-rw-r--r--net/ipv4/proc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/proc.c b/net/ipv4/proc.c
index eb5cee279c5f..19e1d8e257da 100644
--- a/net/ipv4/proc.c
+++ b/net/ipv4/proc.c
@@ -359,11 +359,11 @@ static int snmp_seq_show(struct seq_file *seq, void *v)
359 /* MaxConn field is signed, RFC 2012 */ 359 /* MaxConn field is signed, RFC 2012 */
360 if (snmp4_tcp_list[i].entry == TCP_MIB_MAXCONN) 360 if (snmp4_tcp_list[i].entry == TCP_MIB_MAXCONN)
361 seq_printf(seq, " %ld", 361 seq_printf(seq, " %ld",
362 snmp_fold_field((void **)tcp_statistics, 362 snmp_fold_field((void **)init_net.mib.tcp_statistics,
363 snmp4_tcp_list[i].entry)); 363 snmp4_tcp_list[i].entry));
364 else 364 else
365 seq_printf(seq, " %lu", 365 seq_printf(seq, " %lu",
366 snmp_fold_field((void **)tcp_statistics, 366 snmp_fold_field((void **)init_net.mib.tcp_statistics,
367 snmp4_tcp_list[i].entry)); 367 snmp4_tcp_list[i].entry));
368 } 368 }
369 369