]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[NETFILTER]: Advance seq-file position in exp_next_seq()
authorPatrick McHardy <kaber@trash.net>
Tue, 14 Jun 2005 01:27:13 +0000 (18:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Jun 2005 01:27:13 +0000 (18:27 -0700)
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/ip_conntrack_standalone.c

index 46ca45f74d85b6e543304df6eb6f89b9db2098d4..bc59f7b3980585eacd0410a93de5722f8ccc299f 100644 (file)
@@ -256,6 +256,7 @@ static void *exp_seq_next(struct seq_file *s, void *v, loff_t *pos)
 {
        struct list_head *e = v;
 
+       ++*pos;
        e = e->next;
 
        if (e == &ip_conntrack_expect_list)