]> git.proxmox.com Git - mirror_ubuntu-artful-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)
commit0ecba4d9d1db51f670af7ba9049461116a3a2bea
tree6125b51fffbe17c406e39312396f51cef6982b7d
parent5efa0fc6d7f7930b18801f07cefae8eeacd6ac02
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