Skip to content

Commit

Permalink
[NETFILTER]: Advance seq-file position in exp_next_seq()
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Jun 14, 2005
1 parent 814d8ff commit a96aca8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/ipv4/netfilter/ip_conntrack_standalone.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a96aca8

Please sign in to comment.