[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>
This commit is contained in:
Родитель
814d8ffd50
Коммит
a96aca88ac
|
@ -256,6 +256,7 @@ static void *exp_seq_next(struct seq_file *s, void *v, loff_t *pos)
|
||||||
{
|
{
|
||||||
struct list_head *e = v;
|
struct list_head *e = v;
|
||||||
|
|
||||||
|
++*pos;
|
||||||
e = e->next;
|
e = e->next;
|
||||||
|
|
||||||
if (e == &ip_conntrack_expect_list)
|
if (e == &ip_conntrack_expect_list)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче