From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=52.42.203.116 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795894616; b=pv7EokDWiDfoR3eOjtjYkbvLrkNaAZdH7Wbh2G6trnpZ+C/eMJ+aVbLY2XVz9svpw8BK GigDibP1JjaLF2pQ27XLZE+eLFlzVdCWgunAqqj++hz4S4w2n3sAMpam3p9elOqY6NQEh QG3Y6OrRDW4wru6yhYmstQD5SGlUsYyGyJ/YyzLc2nBfRI66SLu9J62a8B33UQd8WUh7k BWurdq+AOVp4cvv1rQ6cB9vJ+gTZMSgDzG6L6dpbmHusdJnR4BO0JFmkkMOiwoMYRG3a3 dk+GCSt9I7W8MMPxD00Dp6D7MvoXe/cSXn93ASL0oOuowDvdmN0j7KSSTHrq6ql5eIg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795894616; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:Received:Received:X-Farcaster-Flow-ID:Received:Received: From:To:CC:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding:Content-Type:X-Originating-IP: X-ClientProxiedBy; bh=2DRTXYEFqJzjlRzAPUero7GjIQN2ucCs59TT57wksko=; b=DmLjA8rnVh6wSfdIJ0K/hpeVvr3fQZ60aYgEooJjE4wDOk7yGVaHWDGMAGCPPl2O+yV6 jPNLVE95x7XSBvHRMoVgo6nLrS7F77bxDj/DxnPVJrIkedQS1yBMYWhDIteIRfDDUS5Ii upJicyQKNw2Ee8Wo/0ci8uWe/8KvPwbLx+ZEaGfNtzNQ015GIYjnfr41KpyqT3CiyigwT 8xDMzVLxQrr0bnqTWVg6HPJpUEID0RE4tJiJ8GtA/NFcCZrVqTs9jADUdra6yHtwa605+ 4ZcT3RMYrxSw4g19jyFvqYu2H9S0NXnqhj2ZMePCFnjSBwXhSo2t2lT1ythzXOtV0fw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=amazon.com; spf=pass smtp.mailfrom=amazon.com; dkim=pass header.d=amazon.com header.i=@amazon.com header.a=rsa-sha256 header.s=amazoncorp2 header.b=Bj0ctD5s; arc=none smtp.remote-ip=52.42.203.116 Received: from pdx-out-008.esa.us-west-2.outbound.mail-perimeter.amazon.com (pdx-out-008.esa.us-west-2.outbound.mail-perimeter.amazon.com [52.42.203.116]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 23D75606A31C for ; Sat, 28 Nov 2026 19:36:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 23D75606A31C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amazon.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amazon.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=amazon.com header.i=@amazon.com header.a=rsa-sha256 header.s=amazoncorp2 header.b=Bj0ctD5s DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazoncorp2; t=1795894616; x=1827430616; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=2DRTXYEFqJzjlRzAPUero7GjIQN2ucCs59TT57wksko=; b=Bj0ctD5sx0H4LAG5H8xL/KAycD1UeNNvNNw6HjFiskV5D00AGzomVa/a o77r53h1cs9Mip81vJ2fVjLCfX1Gt7LsCYmGxoADpcfavErNsWGz1DsYv EcHhXBzIu5xMjSkDg2HXRPt/kaZ8NjOV8WtxHysGx/+wfuh3bXLNPnMfO Mdf4BfjUS17udHzVvrPq8t+1GKCHxpf1KQ8M8SqsGQpuqOmJLsnbdAQ5O kLXup8G+f0NnWYkVMrdtGAOgZNzvki76Jh/0Yh1Ke9ccBfCvcT3hMU3J5 zNeya3PAnssJZFCDemBx5pUnMu5jzlMcjRBMJjiRhQsHjzj7/26rJkHcQ Q==; X-CSE-ConnectionGUID: kavrC+Z/TqiMhcUUhxRR0w== X-CSE-MsgGUID: n8sCv+cQSqGqDo11FsJyDA== X-IronPort-AV: E=Sophos;i="6.27,238,1787011200"; d="scan'208";a="35392518" Received: from ip-10-5-9-48.us-west-2.compute.internal (HELO smtpout.naws.us-west-2.prod.farcaster.email.amazon.dev) ([10.5.9.48]) by internal-pdx-out-008.esa.us-west-2.outbound.mail-perimeter.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Nov 2026 19:36:55 +0000 Received: from EX19MTAUWA002.ant.amazon.com [205.251.233.178:10914] by smtpin.naws.us-west-2.prod.farcaster.email.amazon.dev [10.0.36.222:2525] with esmtp (Farcaster) id 8bc3d133-a0d3-4d7b-bc84-b25ebba95732; Sat, 28 Nov 2026 19:36:55 +0000 (UTC) X-Farcaster-Flow-ID: 8bc3d133-a0d3-4d7b-bc84-b25ebba95732 Received: from EX19D001UWA001.ant.amazon.com (10.13.138.214) by EX19MTAUWA002.ant.amazon.com (10.250.64.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.2562.57; Sat, 28 Nov 2026 19:36:55 +0000 Received: from dev-dsk-mkbund-2b-9ea2efba.us-west-2.amazon.com (10.2.100.138) by EX19D001UWA001.ant.amazon.com (10.13.138.214) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.2562.57; Sat, 28 Nov 2026 19:36:54 +0000 From: Mark Bundschuh To: Sasha Levin , Harshit Mogalapalli CC: Greg Kroah-Hartman , , , Jaeyeong Lee , "Pablo Neira Ayuso" Subject: Re: [PATCH 6.12 002/816] netfilter: nft_ct: move custom expectation support to helper Date: Sat, 28 Nov 2026 19:36:42 +0000 Message-ID: <20261128193642.1209064-1-mkbund@amazon.com> X-Mailer: git-send-email 2.50.1 In-Reply-To: <4b81813c-6a7b-4a1e-bb6d-6831e2358a44@oracle.com> References: <4b81813c-6a7b-4a1e-bb6d-6831e2358a44@oracle.com> X-Mailing-List: patches@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: EX19D031UWC001.ant.amazon.com (10.13.139.241) To EX19D001UWA001.ant.amazon.com (10.13.138.214) On 28/11/26 22:44, Harshit Mogalapalli wrote: > A size-one object now supplies 255 to ctnetlink's eviction check > instead of one. The backport doesn't honor size, but I think it only matters for expectations added through ctnetlink (needs CAP_NET_ADMIN), since the rule path only adds one on the first packet. Before this patch 6.12 had no per-conntrack limit there at all, so it's not a regression, but it isn't upstream either. Dropping it leaves the stale expectation list entries it fixes in 6.12. Sasha, would you rather keep it, or take a v2 that also backports ac46f3f35b6e ("netfilter: nf_conntrack_helper: add refcounting from datapath") as a stable dep so each object gets its own helper and the size limit works as upstream? Thanks, Mark