]> git.ipfire.org Git - thirdparty/ipset.git/commit
Fix nla_policies to fully support NL_VALIDATE_STRICT
authorJozsef Kadlecsik <kadlec@netfilter.org>
Fri, 1 Nov 2019 14:36:44 +0000 (15:36 +0100)
committerJozsef Kadlecsik <kadlec@netfilter.org>
Fri, 1 Nov 2019 14:36:44 +0000 (15:36 +0100)
commit2b2c1d85bbc4e24e1350c3075d5e653104c91a41
treecdb1b2af606ada08b6beb4ca6ede3bbcd341747f
parent6cd9def144557f0601e054c29cec935ebf675849
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 thus the corresponding ipset
commands failed.
kernel/net/netfilter/ipset/ip_set_core.c
kernel/net/netfilter/ipset/ip_set_hash_net.c
kernel/net/netfilter/ipset/ip_set_hash_netnet.c