diff options
author | Patrick McHardy <kaber@trash.net> | 2005-06-13 18:27:13 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-06-13 18:27:13 -0700 |
commit | a96aca88ac71f75e566981b554da44bfd0d111e8 (patch) | |
tree | f33460f2f2452807483ba6453e3319dcfe4bf856 | |
parent | 814d8ffd5009e13f1266759b583ef847c5350d77 (diff) |
[NETFILTER]: Advance seq-file position in exp_next_seq()
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/ipv4/netfilter/ip_conntrack_standalone.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/netfilter/ip_conntrack_standalone.c b/net/ipv4/netfilter/ip_conntrack_standalone.c index 46ca45f74d85..bc59f7b39805 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) |