]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nft_numgen: start round robin from zero
authorLiping Zhang <liping.zhang@spreadtrum.com>
Wed, 19 Oct 2016 15:29:53 +0000 (23:29 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 26 Oct 2016 14:35:16 +0000 (16:35 +0200)
commit5b246805dd2178e71787ad2bcc5aa58548789b11
tree6125b51fffbe17c406e39312396f51cef6982b7d
parent7e3cabe9800ca2a9e9a9e0a8c4dea9b5456f37ef
netfilter: nft_numgen: start round robin from zero

Currently we start round robin from 1, but it's better to start round
robin from 0. This is to keep consistent with xt_statistic in iptables.

Signed-off-by: Liping Zhang <liping.zhang@spreadtrum.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_numgen.c