]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nft_meta: place prandom handling in a helper
authorFlorian Westphal <fw@strlen.de>
Wed, 18 Dec 2019 11:05:19 +0000 (12:05 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 26 Dec 2019 16:41:34 +0000 (17:41 +0100)
commit1c77dbc7cb0724ae01bf62ad55bf4d9c9e829469
tree88b941e882a3624869a46ce53eb8e184fc41975d
parent1f256e2092ca4d5feb5e69c73c6ebefb50f8b18b
netfilter: nft_meta: place prandom handling in a helper

Move this out of the main eval loop, the numgen expression
provides a better alternative to meta random.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_meta.c