aboutsummaryrefslogtreecommitdiffstats
path: root/net/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/socket.c')
-rw-r--r--net/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socket.c b/net/socket.c
index b807f360e02c..00cdfd2088db 100644
--- a/net/socket.c
+++ b/net/socket.c
@@ -2136,7 +2136,7 @@ void socket_seq_show(struct seq_file *seq)
2136 int cpu; 2136 int cpu;
2137 int counter = 0; 2137 int counter = 0;
2138 2138
2139 for_each_cpu(cpu) 2139 for_each_possible_cpu(cpu)
2140 counter += per_cpu(sockets_in_use, cpu); 2140 counter += per_cpu(sockets_in_use, cpu);
2141 2141
2142 /* It can be negative, by the way. 8) */ 2142 /* It can be negative, by the way. 8) */