Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp96580rdb; Thu, 5 Oct 2023 18:41:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IELvh/+ffXW6G7f1mF2lxsHsp3KUYnLBs7jKp0UjBKQl5LIbr8hprSvwv/Qy30XiyHL2pry X-Received: by 2002:a17:90a:881:b0:279:1141:39af with SMTP id v1-20020a17090a088100b00279114139afmr3056377pjc.46.1696556465361; Thu, 05 Oct 2023 18:41:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696556465; cv=none; d=google.com; s=arc-20160816; b=VwCffOnVVarcxmBTtaA1798WEvWYHc0ytkO32/homUC+OiZmdJ1rnfohSjeutI+Gyt zPmxAAHGczrruL8Xmx0c2N8pznDMjN/7O2Nv5Kec64TieXKszFTXA1VxrKOLYupGmLvC GgpNdZQ8GwgcvSdIivJpMbE8beeOVwbawjP94eEm115TUy8Nes7r7RwM2HQMsZmfZVKD NRuvBqFhrG3tjX26lZR8/JpUBMxQcP5dXRGiq3Ji17HbKrzzj0voRlRPY/UGUpA1oIC9 Z56ErAulNtPRo7/LeRYnK5qU5IdHXbTpYsENVQhBSXyYD0kYhKLnJB2xqwIPHfe5ufiW H+yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=Zo6Up5LCEGWT6yfGGDsna1VEiSxOnOWp7EHT60gmqWs=; fh=EeiDc/79dF4v6/YAsv8WRrLDCX8P5elG9KiR1Hl5nlA=; b=C6eHxIp5HnKU71nXwex1kXbT/42zr7PmaeWTXe8VS1u5ye70G5DbxLLlGkZLu7BN9Y afD1lw4E9EqALE0RjwkXvpuIHTlQnHaKOdCdI2lG3IvH3deytfpdIu+mrWDISbybnkl6 i4l/02i6zle7k8hh78MSMiFX4ZW2vho1KksSbS0J9iB8BysV+idX16jPu4gK0TVr0Npj 45NS2Cbkv9ZNzulkFQ6rhWCtcyMxe+v+N6WFM+LGoYvlOlDVZm9WsQJZEg0ufq1Uivor lOebEXy045wexwHXrtKvN193XxJG69LpJTyHjMyaHieV+WrR8L4Va3ZQ9qKoSgSY9K3z GMqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Vag4T/za"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id m6-20020a17090a414600b00273f61d8773si2677627pjg.160.2023.10.05.18.41.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 18:41:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Vag4T/za"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 5684E8073290; Thu, 5 Oct 2023 18:41:03 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229788AbjJFBkd (ORCPT + 99 others); Thu, 5 Oct 2023 21:40:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229628AbjJFBk1 (ORCPT ); Thu, 5 Oct 2023 21:40:27 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6843E8 for ; Thu, 5 Oct 2023 18:40:26 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPS id 4F3F6C433AD; Fri, 6 Oct 2023 01:40:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696556426; bh=GUAGPA2TNMtqx/k5hqRWI0g69x3ow7E+AEcpieFF9Ns=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=Vag4T/zamUJR4smsB80cnOswuxlstYz5FUWud/I1xaGmMV6FKlmymerOiYOHrb34T flFH/gCFphNdKuMCsOFJeXfA06+Xvng3OYMLEvOZvoo7pNE2jbIYZCBN1y+M6Fm2Ef 3TzfesztHm3YD+MpXW4KQPeLTGA5WUpUJe9fsrYcmCTIgsWjWNQY2er+Z5daugBylH iJXkx8n2w/MgX0h7mnjorTxq/0PQoXaWdqfxxRin8r7ywQ9qBQ0Rr2kOiVUTP9Z81R VNM7GUcPKlBxpyF4GMcC1T44bGAkKHU755jNMlsXgRDlIGUYV8p14hPmrrSxHJbTbg Z9hYi21mcDcBg== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 31728E11F54; Fri, 6 Oct 2023 01:40:26 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] netem: Annotate struct disttable with __counted_by From: patchwork-bot+netdevbpf@kernel.org Message-Id: <169655642619.20160.13590972818824999769.git-patchwork-notify@kernel.org> Date: Fri, 06 Oct 2023 01:40:26 +0000 References: <20231003231823.work.684-kees@kernel.org> In-Reply-To: <20231003231823.work.684-kees@kernel.org> To: Kees Cook Cc: stephen@networkplumber.org, jhs@mojatatu.com, xiyou.wangcong@gmail.com, jiri@resnulli.us, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, gustavoars@kernel.org, nathan@kernel.org, ndesaulniers@google.com, trix@redhat.com, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org, llvm@lists.linux.dev X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Thu, 05 Oct 2023 18:41:03 -0700 (PDT) Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Tue, 3 Oct 2023 16:18:23 -0700 you wrote: > Prepare for the coming implementation by GCC and Clang of the __counted_by > attribute. Flexible array members annotated with __counted_by can have > their accesses bounds-checked at run-time via CONFIG_UBSAN_BOUNDS (for > array indexing) and CONFIG_FORTIFY_SOURCE (for strcpy/memcpy-family > functions). > > As found with Coccinelle[1], add __counted_by for struct disttable. > > [...] Here is the summary with links: - netem: Annotate struct disttable with __counted_by https://git.kernel.org/netdev/net-next/c/0fef0907d6fa You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html