]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_conntrack: ct_cpu_seq_next should increase position index
authorVasily Averin <vvs@virtuozzo.com>
Tue, 25 Feb 2020 07:05:47 +0000 (10:05 +0300)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 4 Mar 2020 01:27:18 +0000 (02:27 +0100)
commit8c333171ee7dbbefeef4955a857716f25f63fcec
tree5ac47d40e5a2db76cf3c557789e1cf40311a7b37
parenta33d0cf192e4cfc8b1ad8f5ae7a5b5745fa86791
netfilter: nf_conntrack: ct_cpu_seq_next should increase position index

If .next function does not change position index,
following .show function will repeat output related
to current position index.

Cc: stable@vger.kernel.org
Fixes: 46cb04d471b6 ("fs/seq_file.c: simplify seq_file iteration code ...")
Link: https://bugzilla.kernel.org/show_bug.cgi?id=206283
Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_conntrack_standalone.c