netfilter: ipset: Fix nla_policies to fully support NL_VALIDATE_STRICT
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Fri, 1 Nov 2019 16:13:18 +0000 (17:13 +0100)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Mon, 4 Nov 2019 19:46:13 +0000 (20:46 +0100)
commit1289975643f4cdecb071dc641059a47679fd170f
treeeebba08a8ada65fd8a6e6978cb29e8210584a2ff
parent97664bc2c77e2b65cdedddcae2643fc93291d958
netfilter: ipset: Fix nla_policies to fully support NL_VALIDATE_STRICT

Since v5.2 (commit "netlink: re-add parse/validate functions in strict
mode") NL_VALIDATE_STRICT is enabled. Fix the ipset nla_policies which did
not support strict mode and convert from deprecated parsings to verified ones.

Signed-off-by: Jozsef Kadlecsik <kadlec@netfilter.org>
net/netfilter/ipset/ip_set_core.c
net/netfilter/ipset/ip_set_hash_net.c
net/netfilter/ipset/ip_set_hash_netnet.c