]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: synproxy: synproxy_cpu_seq_next should increase position index
authorVasily Averin <vvs@virtuozzo.com>
Tue, 25 Feb 2020 07:05:59 +0000 (10:05 +0300)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 4 Mar 2020 01:27:18 +0000 (02:27 +0100)
commit559e27b3ef8e0fc157725bfee31c42f8cfd22152
treeabf966422451d2eba332f320331c0948bb4e5a60
parent661aa244045323027c2c9bb5aa3aebbde332b296
netfilter: synproxy: synproxy_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: e19d2d31ef47 ("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_synproxy_core.c