summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2005-06-13 18:27:13 -0700
committerDavid S. Miller <davem@davemloft.net>2005-06-13 18:27:13 -0700
commita96aca88ac71f75e566981b554da44bfd0d111e8 (patch)
treef33460f2f2452807483ba6453e3319dcfe4bf856
parent814d8ffd5009e13f1266759b583ef847c5350d77 (diff)
downloadtalos-op-linux-a96aca88ac71f75e566981b554da44bfd0d111e8.tar.gz
talos-op-linux-a96aca88ac71f75e566981b554da44bfd0d111e8.zip
[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.c1
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)
OpenPOWER on IntegriCloud