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 10:59:08 +0000 (11:59 +0100)
commit996cd779c2a43e59a8717ad74b5088ab239bc54d
tree52206801fed626432bf9717ca3d7ad9035da0ec9
parent4f1105ee72d8c7c35d90e3491b31b2d9d6b7e33a
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