Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp96489rdb; Thu, 5 Oct 2023 18:40:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEfLj03LMWeDIe6pzfZ5IeO1xCePc0cDNosYJLZfSgFprpWgT7xqZ+cksxunndpq+JijA1J X-Received: by 2002:a05:6808:152a:b0:3a8:6a03:c0c with SMTP id u42-20020a056808152a00b003a86a030c0cmr8271197oiw.27.1696556443295; Thu, 05 Oct 2023 18:40:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696556443; cv=none; d=google.com; s=arc-20160816; b=x7JKBFgWJ+Lkoqn2bhk8JY8GLVk2/QH2InlMYpcl8I6IhRga16PQQgQlNK0EyRkaLy jVtaDSC9GFH5Ba7rKxeIAJF9sMEm1IOFGb3OTDMxddKyN/O4X2KR3mlbwqZIb1XSK0ur Uo+gJ4/7tknyWZSMBEGoluOSFVMhxtK8awdIQu+YbAnti5+Y5RDcqEWJA1Wz88AZbjkY hdHMl15Iv9X4GpxUEmPn32SxFGuebl8RUAF/roG7jP5sye5nw3eqC5ZkVQ6GsxVCYU58 SUfel0HximKuO8N5TYvw0yT0q6JeW3PWGY34PqvfrATvS/riZdYLTUUqACyFXVosXmUS iyrw== 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=aeTQumpz7eYDZv6I0h9kjToFU7uJo0g5jeeSpC4Jo4Y=; fh=2DQSYBeKKS0bjydeCm9Un6MHpfNZ7RpALU8RY14k19Q=; b=Gi+yPLabjvbUq426L3TCLTHZ8GTD1l7/r/TpGl31ebC+Ht/AQ6xHJMLqTSJLKV+8gA 7aJIDH7qiVrFFq+e5gxjMhHFTTMWEJsSRKDpnJHxqpv+gKF7A143YahDejz2NOxqpHAP AX7Bu3EBC5rC6zz3EKeu1A8HwgnU53SlwgMSajFSDj9nmgHRN8CSySiU0GYbfhkwz0oJ awVsaCh+EpQLXOCs202TlVG/v+Hxlmg/qZBEqjEHB+51kAWstjV3flJleaX4akKvYj6x 5vdz0eqIGN2mrKgNDToFq4wqFTxjrYjy6hjcCF7vyjuuUcam5XvpMxol1N6G6rG5JQCd fGWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PkSCdCCS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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. [23.128.96.31]) by mx.google.com with ESMTPS id h20-20020a635754000000b00577f80ddb2esi2639260pgm.705.2023.10.05.18.40.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 18:40:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PkSCdCCS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 63B908072454; Thu, 5 Oct 2023 18:40:39 -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 S229739AbjJFBkb (ORCPT + 99 others); Thu, 5 Oct 2023 21:40:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229606AbjJFBk1 (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 C99C1E7 for ; Thu, 5 Oct 2023 18:40:26 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPS id 451A8C43391; 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=gqyrDN2+dTZupXeCUnU9mVObbWUJ6MuZQ0yvTbbWN1g=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=PkSCdCCSfYON8+xP7t8vbyzAu/msl77TOxUy2VyBRWtnH+rq5MmSlaPF4AjqaFan5 /bywZ4gFU0vgG3m9W5bwRHeZUBKJakMK6y1c89VYup75XaGNjCMXOYO3qlLWDV6uO5 lTut7jfV31ztuiB8pFwX/WaqsUOkOU8Yr/lS+437D3aUuWvzSfT4+lLYwHcH1TzV0N f50kS8Q1RKyUIQPe0CVsSkzKA2U+nWcJ/tbx/eoWjexefWPPRrU3wQKz92gCuOoswb l0H6PuMOvrdCDHPYCXK2iX6ph1sLS0VmcLQgdokiAbB678NgyXunWuWtU5MaB/xopI B+sEmX2pAvGSg== 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 272D2E11F51; 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] nexthop: Annotate struct nh_notifier_res_table_info with __counted_by From: patchwork-bot+netdevbpf@kernel.org Message-Id: <169655642615.20160.16106927648180643616.git-patchwork-notify@kernel.org> Date: Fri, 06 Oct 2023 01:40:26 +0000 References: <20231003231818.work.883-kees@kernel.org> In-Reply-To: <20231003231818.work.883-kees@kernel.org> To: Kees Cook Cc: dsahern@kernel.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, nathan@kernel.org, ndesaulniers@google.com, trix@redhat.com, netdev@vger.kernel.org, llvm@lists.linux.dev, gustavoars@kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org 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:40:39 -0700 (PDT) Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Tue, 3 Oct 2023 16:18:18 -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 > nh_notifier_res_table_info. > > [...] Here is the summary with links: - nexthop: Annotate struct nh_notifier_res_table_info with __counted_by https://git.kernel.org/netdev/net-next/c/3e584e32b19d You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html