netfilter: nf_tables: consolidate set description
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 19 Dec 2022 19:07:52 +0000 (20:07 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Jan 2023 11:01:57 +0000 (12:01 +0100)
commit4fba3958a9b9c7ab24cfb16bdeaa7ba3f749691b
tree05ad03d4ba1c3ad3219a4102862d7410aa784b91
parentba3d2c2380e7129b525a787489c0b7e819a3b898
netfilter: nf_tables: consolidate set description

[ Upstream commit bed4a63ea4ae77cfe5aae004ef87379f0655260a ]

Add the following fields to the set description:

- key type
- data type
- object type
- policy
- gc_int: garbage collection interval)
- timeout: element timeout

This prepares for stricter set type checks on updates in a follow up
patch.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Stable-dep-of: f6594c372afd ("netfilter: nf_tables: perform type checking for existing sets")
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/net/netfilter/nf_tables.h
net/netfilter/nf_tables_api.c