]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
netfilter: nf_tables: missing iterator type in lookup walk
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 17 Sep 2024 20:25:15 +0000 (22:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2024 13:10:41 +0000 (15:10 +0200)
commitded5376ee34b027c5bd27cc75b6b444ff8acff3c
tree96ae13bc84efd471c1b85a383116c443ca753d54
parentce9fef54c5ec9912a0c9a47bac3195cc41b14679
netfilter: nf_tables: missing iterator type in lookup walk

commit efefd4f00c967d00ad7abe092554ffbb70c1a793 upstream.

Add missing decorator type to lookup expression and tighten WARN_ON_ONCE
check in pipapo to spot earlier that this is unset.

Fixes: 29b359cf6d95 ("netfilter: nft_set_pipapo: walk over current view on netlink dump")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/netfilter/nft_lookup.c
net/netfilter/nft_set_pipapo.c