[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 46ca45f..bc59f7b 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)