Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp267937rdb; Fri, 6 Oct 2023 03:00:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH5swd1y5HK+6LiKbSmAbkzZyIBhNqiKoC8gSmmYaeMAZQaHdOJe/G5yEgLznC85pIxhvAd X-Received: by 2002:a05:6830:18e6:b0:6b8:807b:b50 with SMTP id d6-20020a05683018e600b006b8807b0b50mr7920762otf.22.1696586441449; Fri, 06 Oct 2023 03:00:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696586441; cv=none; d=google.com; s=arc-20160816; b=iZp41N0bv6C5+i10SbWDbSODr8/T9RTKH0XBl9Vm3yBPawVfIYd0bivb6DS145bTd0 EgwuMw48sDh53uxHgGvU600lgXWyUhD0mKeaIL6eeV56hhxlQJ0qZ66eWqp+IJsoKPf7 Aw4D10vNixKOZ2/Z+jAG32+jBx/5gcdJbW1GJpKkimIk4LrSvWg3P/0NwpdPfihrah5z uyugQca3OAuCYDC/9pnr5CA0oQMd2wvDyeJrIy30Bhw0oclS0b6dEtjndrBg0W27kXHe nodIHrsnAQ02TQXvkAbHdytXtRTyjGtmECzKAcCweVEYZ46AI1/fvHY/L5cXN99Dl5W1 PZmw== 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=WKqE15+B7/tHZGDfFE2ID1dqkZUb0IXEYFXUZLRktus=; fh=3OoaoZGz7BIVrg9vbiMXEcyhS7TtWRjAgxlpDslptA0=; b=VlrUKMTYnp0qzAIIj3kRy7nIiK7R9q84wIYoS2fpxzIykzgKw5R0cuBLdd3BbiqjaP R9HlKw/XPx9RhgAhTRyTpXQG1WdZSVhClVlT7Ej+dPRrdRboOCIgFXsA/Q7dBfUf/Af0 5FQmY5qd2yBbCnW7Rop0tMH0qicEzvjV1peOUjAQTVk1DhFlCp2v+NsjKkKGKSN9umRJ T4EVF7FQUy9JuPHKWZIHCfxysDBdpLgl6LDDvxjXt2S8aOs7cDqyBKieubpvneNHude0 He4l9v9aOEGFzS6gaSExSBj+l+zy3DYYXo5X9/ndOQpxHZV3oS52ajeIRYJmupJMbfK6 Fk4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BRhmwgmY; 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 m9-20020a654389000000b00584ac935a98si3180213pgp.828.2023.10.06.03.00.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 03:00:41 -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=BRhmwgmY; 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 12E03809927F; Fri, 6 Oct 2023 03:00: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 S231559AbjJFKA3 (ORCPT + 99 others); Fri, 6 Oct 2023 06:00:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231535AbjJFKA2 (ORCPT ); Fri, 6 Oct 2023 06:00:28 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E95B9F for ; Fri, 6 Oct 2023 03:00:27 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPS id BE053C433C9; Fri, 6 Oct 2023 10:00:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696586426; bh=Lv3Klna2FTPeB1l0WLzXoU1kCYsAsFAU4Irfc+zJ3yc=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=BRhmwgmYih5xopqLETDSS3Keu9xlfYM+GQ6LakR7JP8Pf6pSbjZ+i+Ewazp6IEsDp rtOI6u8U1efgdBJ6AsiaqtdIZwwTWqP8lMId4oWHGLLL9AJ8O6W49/SfxAMYJZmetI Jf27Fl43QL7+q0lHyaRmzvdq+kkFOX4MtjpqoYNGd1/ba9wVJjSVcWXuL60G6v9bWJ 9PW19QMJ192/xt/a10jgkyQuZnJqzOJvHVdEMfmELL8MSs6qZgTKS8zkq6208sn+tk A6jEfMSqywh3dMUMSE5gXFra5z5fnIhB/lHMHTAt6r8IJ3WVxYQp7dgzrZfKpCf0PP 9uFsaIhg7XQ3Q== 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 9EBBFC595CB; Fri, 6 Oct 2023 10:00: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_group with __counted_by From: patchwork-bot+netdevbpf@kernel.org Message-Id: <169658642664.19666.16771125566763338647.git-patchwork-notify@kernel.org> Date: Fri, 06 Oct 2023 10:00:26 +0000 References: <20231004014445.work.587-kees@kernel.org> In-Reply-To: <20231004014445.work.587-kees@kernel.org> To: Kees Cook Cc: dsahern@kernel.org, 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=2.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no 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]); Fri, 06 Oct 2023 03:00:39 -0700 (PDT) X-Spam-Level: ** Hello: This patch was applied to netdev/net-next.git (main) by David S. Miller : On Tue, 3 Oct 2023 18:44:49 -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_group. > > [...] Here is the summary with links: - nexthop: Annotate struct nh_group with __counted_by https://git.kernel.org/netdev/net-next/c/2a92fccdaca8 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html