]> git.baikalelectronics.ru Git - kernel.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)
commit99ce3c69ad69b71a97cac4e71a74b3076916f444
treeae0fc22dee36a1f023e375823e928d8009518a0a
parentc2237054a21d037246d97e4a7505306b60356991
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: 4344921cea3b ("netfilter: nftables: add catch-all set element support")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c