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 9ed9f6521155..23898f45f713 100644
--- a/net/socket.c
+++ b/net/socket.c
@@ -2132,7 +2132,7 @@ void socket_seq_show(struct seq_file *seq)
2132 int cpu; 2132 int cpu;
2133 int counter = 0; 2133 int counter = 0;
2134 2134
2135 for_each_cpu(cpu) 2135 for_each_possible_cpu(cpu)
2136 counter += per_cpu(sockets_in_use, cpu); 2136 counter += per_cpu(sockets_in_use, cpu);
2137 2137
2138 /* It can be negative, by the way. 8) */ 2138 /* It can be negative, by the way. 8) */