Received: from smtp-out.kfki.hu (smtp-out.kfki.hu [148.6.0.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C572F3BE628 for ; Wed, 17 Jun 2026 08:50:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.6.0.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781686210; cv=none; b=FowZzn7ImqeRAKGO1uVyAAdmmNfMX3fSHFCUHJ1G82LEWEybaXdWBY5gN1KntB7ItWf6FX/fiB0/m6DSo/xGEmNgjp1BWRoPx1d/RhC1FlbFfn88Ik0mn8PNC2lLQqT3Nm2umLvYKi1TMpCK8Qr5XsAORdzDBji0b6RISCj5w2o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781686210; c=relaxed/simple; bh=qOz5t9KuiHknouCzqArg+qMcUOQjoAdUKBaOkhO+K20=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=qz9A5PqEMLtAM50/HCL3Byv+3C7oxngUL17yiYfulogFXba6hGGK+hlGOyG1ioXUXmjFyjG1jTsuVEyiOfpZkALvK6ikkVOTSNBUU7vrXcD3i3KzIkOoD1egThlv7xfCpMSt3rhOMfDEUNZfEYc3P/CAv9N3IxkyTQ366oYvDnw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=netfilter.org; spf=pass smtp.mailfrom=blackhole.kfki.hu; dkim=pass (1024-bit key) header.d=blackhole.kfki.hu header.i=@blackhole.kfki.hu header.b=t7Y9Y2iK; arc=none smtp.client-ip=148.6.0.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=netfilter.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=blackhole.kfki.hu Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=blackhole.kfki.hu header.i=@blackhole.kfki.hu header.b="t7Y9Y2iK" Received: from localhost (localhost [127.0.0.1]) by smtp1.kfki.hu (Postfix) with ESMTP id 4ggHQL5ntczGFDCV; Wed, 17 Jun 2026 10:41:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= blackhole.kfki.hu; h=mime-version:x-mailer:message-id:date:date :from:from:received:received:received; s=20151130; t=1781685688; x=1783500089; bh=zRiz+swikSm8LriJ20mi4d0p6J6dRthjp76+fSBlY2M=; b= t7Y9Y2iKSJV9Y6KXyLgjMTTLBJ6n6aOVqvuo9Ta2ZLLoyzTMx+NL/GLIYv+ROyyN 2vNPM7aoqQHqamEQDOE4U4hD6aeBFCM/2b7vkTtiQskZF1OuLRbBZgEMDZWh0T3Y /tD43244jixcBzkeLix+qNdfCrLhMRQg+PeGbQZhjk0= X-Virus-Scanned: Debian amavis at smtp1.kfki.hu Received: from smtp1.kfki.hu ([127.0.0.1]) by localhost (smtp1.kfki.hu [127.0.0.1]) (amavis, port 10026) with ESMTP id HRSMj5lwwzzX; Wed, 17 Jun 2026 10:41:28 +0200 (CEST) Received: from mentat.rmki.kfki.hu (unknown [148.6.40.64]) (Authenticated sender: kadlecsik.jozsef@wigner.hu) by smtp1.kfki.hu (Postfix) with ESMTPSA id 4ggHQJ6CGXzGFDCP; Wed, 17 Jun 2026 10:41:28 +0200 (CEST) Received: by mentat.rmki.kfki.hu (Postfix, from userid 1000) id A40B914045C; Wed, 17 Jun 2026 10:41:28 +0200 (CEST) From: Jozsef Kadlecsik To: netfilter-devel@vger.kernel.org Cc: Pablo Neira Ayuso Subject: [PATCH v3 0/7] netfilter: ipset fixes, second batch Date: Wed, 17 Jun 2026 10:41:21 +0200 Message-Id: <20260617084128.6603-1-kadlec@netfilter.org> X-Mailer: git-send-email 2.39.5 Precedence: bulk X-Mailing-List: netfilter-devel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Pablo, Here follows the updated patches for the second batch. I left out=20 some potential issues (like torn read in reuse/forceadd cases),=20 those will be handled later. Best regards, Jozsef Jozsef Kadlecsik (7): netfilter: ipset: Don't use test_bit() in lockless RCU readers in hash types netfilter: ipset: Don't use test_bit() in lockless RCU readers in bitmap types netfilter: ipset: fix order of kfree_rcu() and rcu_assign_pointer() netfilter: ipset: exlude gc when resize is in progress netfilter: ipset: make sure gc is properly stopped netfilter: ipset: cleanup the add/del backlog when resize failed netfilter: ipset: rework cidr bookkeeping net/netfilter/ipset/ip_set_bitmap_gen.h | 4 +- net/netfilter/ipset/ip_set_bitmap_ip.c | 2 +- net/netfilter/ipset/ip_set_bitmap_ipmac.c | 2 +- net/netfilter/ipset/ip_set_bitmap_port.c | 2 +- net/netfilter/ipset/ip_set_core.c | 4 +- net/netfilter/ipset/ip_set_hash_gen.h | 96 ++++++++++++++------ net/netfilter/ipset/ip_set_hash_ipportnet.c | 4 +- net/netfilter/ipset/ip_set_hash_net.c | 4 +- net/netfilter/ipset/ip_set_hash_netiface.c | 4 +- net/netfilter/ipset/ip_set_hash_netnet.c | 8 +- net/netfilter/ipset/ip_set_hash_netport.c | 4 +- net/netfilter/ipset/ip_set_hash_netportnet.c | 8 +- 12 files changed, 90 insertions(+), 52 deletions(-) --=20 2.39.5