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=KYLXbuu7F5ErKGJ33XtksfKjgl/rHhNGrB52IEcF89FJU1gB5ONYxwEsj4gqUiIuD2NN DU45Bo2EsIcuffvcmha92NyT07ChSkYTQ7dc7oQhul0NMXQcp2NeLvPUZo19LLqvM4eBY S7S/gcj/xn75ZyQyoeE4rCPWc9semsQuiV0sc1gi4ewFzrrKIpzJR1n/hcNfsUQuZwjTl Af+SA0S8vIKyYlP1XUz3aCkHllmML7/rx2X8DlpEZ0gWuBRLQ43ezzgIJq1WPNk0whhpj 1culYGvv9t1AtKEYRJ17+rrlOOdTcdnLXq2aD6LdFmVuWRq2wjLRuHtr0lnDpvdLjHA== 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=Xn9xYRBuxMmEfedPQSOrS5T8dMUJrXy5PFF7QRw5hWI9jjkOoYmxTws86j0BxRgPmfyk Eqwbn6HqpxC7aDIauy1yfj2/d0uE+qOPcRcn6MJnVy3PVqam78g/rYjTSlx1pAdogWWnI hkKQW09OFZzJJM4y+PYhrBtVnOt1sJlS9VVb7BRhIs4r0wgbFd6n0NaY+DspHbaaeW+48 /Ptp+/4zK7NSoTfu6oaQUBn1T8p1N8qo2HfUaBSAq44IFGu6sZ1g0e+hLWPsCiRxsw4uv JGouf89DcikajmEPhC50f1ZwVcIYQE6AwNo/3XMTX9Dyu1KjudiIWabbJdTF+QeabYw== 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 23E57606A321 for ; Sat, 28 Nov 2026 19:36:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 23E57606A321 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) 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: stable@vger.kernel.org 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