Commit bd56c9e1 authored by Florian Westphal's avatar Florian Westphal Committed by Treehugger Robot
Browse files

UPSTREAM: netfilter: nft_set_pipapo: skip inactive elements during set walk



commit 317eb968 upstream.

Otherwise set elements can be deactivated twice which will cause a crash.

Bug: 316310313
Reported-by: default avatarXingyuan Mo <hdthky0@gmail.com>
Fixes: 3c4287f6 ("nf_tables: Add set type for arbitrary concatenation of ranges")
Signed-off-by: default avatarFlorian Westphal <fw@strlen.de>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 189c2a82)
Signed-off-by: default avatarLee Jones <joneslee@google.com>
Change-Id: I27fb6ee806642e23ca02700763a387341dd463e6
parent 783880c6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment