diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-04-17 17:50:28 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-04-18 09:30:21 +0200 |
commit | d4eb7e39929a3b1ff30fb751b4859fc2410702a0 (patch) | |
tree | 21ad87ff5ed6697d9c2c22b01418da907433d35d /include/net | |
parent | netfilter: nf_tables: validate catch-all set elements (diff) | |
download | linux-d4eb7e39929a3b1ff30fb751b4859fc2410702a0.tar.xz linux-d4eb7e39929a3b1ff30fb751b4859fc2410702a0.zip |
netfilter: nf_tables: tighten netlink attribute requirements for catch-all elements
If NFT_SET_ELEM_CATCHALL is set on, then userspace provides no set element
key. Otherwise, bail out with -EINVAL.
Fixes: aaa31047a6d2 ("netfilter: nftables: add catch-all set element support")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions