diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-04-24 22:55:33 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-04-27 23:20:09 +0300 |
commit | fdb9c405e35bdc6e305b9b4e20ebc141ed14fc81 (patch) | |
tree | 4b347b195ab0d7034a0d834310731444e0619aa4 /include/net/netfilter | |
parent | 74f99482eae03195ced512b440b31d62bdb6e943 (diff) | |
download | linux-fdb9c405e35bdc6e305b9b4e20ebc141ed14fc81.tar.xz |
netfilter: nf_tables: allow up to 64 bytes in the set element data area
So far, the set elements could store up to 128-bits in the data area.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net/netfilter')
-rw-r--r-- | include/net/netfilter/nf_tables.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/netfilter/nf_tables.h b/include/net/netfilter/nf_tables.h index 4ff7c81e6717..d4e29c952c40 100644 --- a/include/net/netfilter/nf_tables.h +++ b/include/net/netfilter/nf_tables.h @@ -243,6 +243,10 @@ struct nft_set_elem { u32 buf[NFT_DATA_VALUE_MAXLEN / sizeof(u32)]; struct nft_data val; } key_end; + union { + u32 buf[NFT_DATA_VALUE_MAXLEN / sizeof(u32)]; + struct nft_data val; + } data; void *priv; }; |