]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
netfilter: nf_tables: disallow NFT_SET_ELEM_CATCHALL and NFT_SET_ELEM_INTERVAL_END
authorPablo Neira Ayuso <pablo@netfilter.org>
Sat, 13 Aug 2022 13:22:05 +0000 (15:22 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 15 Aug 2022 15:54:59 +0000 (17:54 +0200)
commitfc0ae524b5fd2938c94d56da3f749f11eb3273d5
treeae0fc22dee36a1f023e375823e928d8009518a0a
parent88cccd908d51397f9754f89a937cd13fa59dee37
netfilter: nf_tables: disallow NFT_SET_ELEM_CATCHALL and NFT_SET_ELEM_INTERVAL_END

These flags are mutually exclusive, report EINVAL in this case.

Fixes: aaa31047a6d2 ("netfilter: nftables: add catch-all set element support")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c