]> 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:24:44 +0000 (22:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 30 Sep 2024 14:25:13 +0000 (16:25 +0200)
commit424bd79517ce08f72ffb3b45aee738920f161d3b
tree8ff12077163dadfe0d5c96112075c09d6e440a21
parentf24d8abc2bb8cbf31ec713336e402eafa8f42f60
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