summaryrefslogtreecommitdiff
path: root/net/sched/cls_api.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2022-12-19 20:00:10 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-12 14:01:57 +0300
commit59c8f9a2361429254a43945b199dd5ab20e736a5 (patch)
tree9e85eca34a1352ec30e5010d4e302022df4fa43f /net/sched/cls_api.c
parent4fba3958a9b9c7ab24cfb16bdeaa7ba3f749691b (diff)
downloadlinux-59c8f9a2361429254a43945b199dd5ab20e736a5.tar.xz
netfilter: nf_tables: add function to create set stateful expressions
[ Upstream commit a8fe4154fa5a1bae590b243ed60f871e5a5e1378 ] Add a helper function to allocate and initialize the stateful expressions that are defined in a set. This patch allows to reuse this code from the set update path, to check that type of the update matches the existing set in the kernel. 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>
Diffstat (limited to 'net/sched/cls_api.c')
0 files changed, 0 insertions, 0 deletions