netfilter: nf_tables: use nft_set_lookup_global from nf_tables_newsetelem()
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 28 Mar 2018 10:06:50 +0000 (12:06 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 30 Mar 2018 09:29:20 +0000 (11:29 +0200)
commita3073c17dd8cd041d5cf68f28a80a54e310f2f45
tree1727848b826f1416378d1c907889b3c6ec26214f
parent10659cbab72b7bfee1a886018d1915a9549b6378
netfilter: nf_tables: use nft_set_lookup_global from nf_tables_newsetelem()

Replace opencoded implementation of nft_set_lookup_global() by call to
this function.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c