]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables: disallow NFTA_SET_ELEM_KEY_END with NFT_SET_ELEM_INTERVAL_END...
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 9 Aug 2022 11:39:18 +0000 (13:39 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 10 Aug 2022 15:06:05 +0000 (17:06 +0200)
commitd47dbcab588b5a2c882c2f76f299c030aae41a01
tree041574096a0dbb576c30e71b61b40fc8b615d8e3
parente94475497d72ce32a0b8d7cba33372c18ae386ae
netfilter: nf_tables: disallow NFTA_SET_ELEM_KEY_END with NFT_SET_ELEM_INTERVAL_END flag

These are mutually exclusive, actually NFTA_SET_ELEM_KEY_END replaces
the flag notation.

Fixes: c0d9534ea59d ("netfilter: nf_tables: add NFTA_SET_ELEM_KEY_END attribute")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c