summaryrefslogtreecommitdiffstats
path: root/net/atm/atm_misc.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2020-12-27 12:35:43 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2020-12-28 10:50:26 +0100
commitb4e70d8dd9ea6bd5d5fb3122586f652326ca09cd (patch)
tree35a39beab3e711e4a1e3d87d55c194f92a53a350 /net/atm/atm_misc.c
parent95cd4bca7b1f4a25810f3ddfc5e767fb46931789 (diff)
downloadlinux-b4e70d8dd9ea6bd5d5fb3122586f652326ca09cd.tar.bz2
netfilter: nftables: add set expression flags
The set flag NFT_SET_EXPR provides a hint to the kernel that userspace supports for multiple expressions per set element. In the same direction, NFT_DYNSET_F_EXPR specifies that dynset expression defines multiple expressions per set element. This allows new userspace software with old kernels to bail out with EOPNOTSUPP. This update is similar to ef516e8625dd ("netfilter: nf_tables: reintroduce the NFT_SET_CONCAT flag"). The NFT_SET_EXPR flag needs to be set on when the NFTA_SET_EXPRESSIONS attribute is specified. The NFT_SET_EXPR flag is not set on with NFTA_SET_EXPR to retain backward compatibility in old userspace binaries. Fixes: 48b0ae046ee9 ("netfilter: nftables: netlink support for several set element expressions") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/atm/atm_misc.c')
0 files changed, 0 insertions, 0 deletions