From: Patrick McHardy Date: Tue, 14 Jun 2005 01:27:13 +0000 (-0700) Subject: [NETFILTER]: Advance seq-file position in exp_next_seq() X-Git-Tag: v2.6.12~26^2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=a96aca88ac71f75e566981b554da44bfd0d111e8;p=linux-2.6-omap-h63xx.git [NETFILTER]: Advance seq-file position in exp_next_seq() Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- diff --git a/net/ipv4/netfilter/ip_conntrack_standalone.c b/net/ipv4/netfilter/ip_conntrack_standalone.c index 46ca45f74d8..bc59f7b3980 100644 --- a/net/ipv4/netfilter/ip_conntrack_standalone.c +++ b/net/ipv4/netfilter/ip_conntrack_standalone.c @@ -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)