git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netfilter: synproxy: synproxy_cpu_seq_next should increase position index
[sfrench/cifs-2.6.git]
/
net
/
netfilter
/
nf_synproxy_core.c
diff --git
a/net/netfilter/nf_synproxy_core.c
b/net/netfilter/nf_synproxy_core.c
index b0930d4aba228bdf63eeb15ac521bfad482b51ea..b9cbe1e2453e82b5040b2309c9a67dda49da64d8 100644
(file)
--- a/
net/netfilter/nf_synproxy_core.c
+++ b/
net/netfilter/nf_synproxy_core.c
@@
-267,7
+267,7
@@
static void *synproxy_cpu_seq_next(struct seq_file *seq, void *v, loff_t *pos)
*pos = cpu + 1;
return per_cpu_ptr(snet->stats, cpu);
}
-
+ (*pos)++;
return NULL;
}