netfilter: nft_numgen: add map lookups for numgen random operations
authorLaura Garcia Liebana <nevola@gmail.com>
Thu, 10 May 2018 22:14:17 +0000 (00:14 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 17 May 2018 12:00:41 +0000 (14:00 +0200)
commit978d8f9055c3a7c35db2ac99cd2580b993396e33
tree30450476639cacdc078c6923be317135dd0808b1
parente65eebec9c67dfd973d8b79844b992ff828d00df
netfilter: nft_numgen: add map lookups for numgen random operations

This patch uses the map lookup already included to be applied
for random number generation.

Signed-off-by: Laura Garcia Liebana <nevola@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_numgen.c