From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 D31DC14885B; Tue, 17 Dec 2024 20:25:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734467104; cv=none; b=Ci4ysOPb4kaLk928w+O4OhVG+AB3eBpRLB7L/9DRSTBJsHE9iLfqjDXuFJAGxhpLUkvAT7kEUQtvbbnbJtUH1isgeVzoBp+Rbk3/jvj/x8ICE0CiG45Pfdyml2q/kdx6rZD5hbxisFu3DmbyLSfKZrPmW1wLeqsAVZUFNqTVQ/w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734467104; c=relaxed/simple; bh=Maiyc6QF7xPjVR/GvWmkIlFnB5azzCmzgzErzNX0Odk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=XAiblktS+mBygjwT8+Ho9gnqCNpMDB83bJQFkcvMCy+HyfzlUmsDsKUVpBp9CxwDsLP7vMOfPBA2/7cWXKmvCjk95F6KDZx6+Q8znmLUv3Yv3ZcUHRnRRLbQMjsoF7yruUC1R3kv/nClk+TaQw4O/h18SoAQmR4RvLCUpIfzejQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=NiO/Pjvu; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="NiO/Pjvu" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5C3D4C4CED3; Tue, 17 Dec 2024 20:25:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1734467104; bh=Maiyc6QF7xPjVR/GvWmkIlFnB5azzCmzgzErzNX0Odk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NiO/PjvuLZCXCjT+n+Jwff8N7u2Dp9GcRYMMAkR5oopgvUny7vHFlSUcxqLc3RW+P C5fU8PFL+aUuONctTnIFM1Nhsc7Lc36Ssg7NGIIvdnr2Dpi8rnZ03k/yVGHgb87zqz RB/pzUXmv7C3mFIL/yFyxszLHf6bc5RrrvNbKkFxB9TIWxOw9hN8pcoxt92hHIsB1w gBdiAT3EVlI3QVWecR89bLA1qmJVmJudSucSLnIn72JLILBRWMpJbYnjiP0JxWbtx/ Wsqa2a0rtGCQH9d+reLDT01FtqZ1hFVSwh44EdUI88p1abKjsy5k0Fo2TMdiCIE6cs uMwx/4k6G8gww== Date: Tue, 17 Dec 2024 12:25:00 -0800 From: Kees Cook To: Christopher Ferris Cc: "Gustavo A. R. Silva" , Alexander Lobakin , Jakub Kicinski , Jamal Hadi Salim , Cong Wang , Jiri Pirko , netdev@vger.kernel.org, "Gustavo A. R. Silva" , linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org Subject: Re: [PATCH] UAPI: net/sched: Open-code __struct_group() in flex struct tc_u32_sel Message-ID: <202412171223.FDDEA0A2@keescook> References: <20241217025950.work.601-kees@kernel.org> <49add42f-42d9-4f34-b4ad-cff31e473f40@embeddedor.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Dec 17, 2024 at 11:10:41AM -0800, Christopher Ferris wrote: > I verified that this does fix the compilation problem on Android. Thanks > for working on this. Thanks! Yeah, let's use Alexander's solution instead of my proposed patch. > > [0] > > https://github.com/alobakin/linux/commit/2a065c7bae821f5fa85fff6f97fbbd460f4aa0f3 -Kees -- Kees Cook