Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp535484imn; Fri, 29 Jul 2022 15:01:54 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vqSvdHklQGsg0TNUZ/IeXGkskYhzZfmhKLd9UG3EmVSJdZsfdkbaLM/qCQU32pAp3m2v/A X-Received: by 2002:a05:6402:4446:b0:43b:e1f4:8525 with SMTP id o6-20020a056402444600b0043be1f48525mr5484219edb.236.1659132114359; Fri, 29 Jul 2022 15:01:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659132114; cv=none; d=google.com; s=arc-20160816; b=WmSGYroe2/6yRPhdA2GmirMw8HAfTVTfOPnjhhD+ielm9eBBvRSiac8SqwML/tX5A3 btulSgjQRNVdDsSw3BICFxmskSeQ+OS9xoA17CMnakGjY+Y5rMhnVRcRzhpUpgRvIRMI I2ANpAZIMz/fgqBtr39p2nYPgN8HclnSEDL8Wg6tv9qDt20HEqCpCLkv3a37Et1ybZ+0 6Bs7ssWmZuAXiwWy++WyqkIHYsr/aZSWmtkzDs/d0SoOCM3cK0ujwOaOlK2EtRWyV2U2 LEHVl1DlZwaRUqxaVZQjiBapgjoVRVl+hqBG2pDJ8QY/kYWG+8LtFWGw8X+fk5/2Gs3f 273w== 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=pNFIpCHH4eYgJ3ln415f2YcSKi9r7uPKdPcdE/lJv8E=; b=v+pazah9ioPlavTB7TazxR290YdISe+5EhEz+oBHJwp4N3Fe4kOo89D+k+zCCk3cdk tbxTvOzPCwfxEaEOT92oKHDMh8R2AcVYzq7DheiCF0LygVGlW/wy337Vp9GiNxOd4qfY 6kfK7OOaCk/HsXnOaimxsuccNlx0WrtadgB5cF7fQ7GlurqC3WTdr7eNtOnNvseoIvV5 T+u4Hh/rS3VTKOwmUsosa7OQRyPSdY6zhFQiWiNbFXV2k7GR+FSvTFtn8wWXvO/Le4et cAf3nnapIbMV+8An8EFgkys6DzFFYGV4YLanQMEsoWWcB9BNUNR480cDamMH9JI7HW/Z uxFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="c3/khEa6"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id di8-20020a170906730800b0072a92973741si5037195ejc.978.2022.07.29.15.01.29; Fri, 29 Jul 2022 15:01:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="c3/khEa6"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239378AbiG2VkV (ORCPT + 99 others); Fri, 29 Jul 2022 17:40:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239328AbiG2VkR (ORCPT ); Fri, 29 Jul 2022 17:40:17 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B38D6252; Fri, 29 Jul 2022 14:40:16 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id BACE7B829CD; Fri, 29 Jul 2022 21:40:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 53AFDC433D7; Fri, 29 Jul 2022 21:40:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1659130813; bh=ysiwbxtc6/5eLqh2EUgtobEZ7Cdyg4zNRPiSJBZDWYo=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=c3/khEa68dGRYkUMEAf0eSXDmMD/ZaVxM/Py/oncriCC9LLF+gePYBCcn68ZS1zAg wwjdSQh3fgpUiB9VhXM3FiE5SBrO/hIX2yGtTk4yEtuTzCff4JedLlCSOnHIBpt/sB fxy2nhI5/akbHcic2DMeUhXd4+kbXnTNiVGhtBjnFYDVa6s0I4JCj2g4pJww3omDVa ianKh/TMPNLWZoBAcMvNDdkXbVJxs2+PYx9uTecwhElmh2x0Cr6TvzgaQ5xM9sH0Nz doo9nCssm5pXGXOt2rN9DnO4cI1b6uBBpPQOJc3TEK+b7Vv47ZqhgppcTXMV/fFL0n 80Xuv8nJVVQlA== 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 387B1C43140; Fri, 29 Jul 2022 21:40:13 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH bpf-next] bpf: fix test_progs -j error with fentry/fexit tests From: patchwork-bot+netdevbpf@kernel.org Message-Id: <165913081322.32307.9736154924263103124.git-patchwork-notify@kernel.org> Date: Fri, 29 Jul 2022 21:40:13 +0000 References: <20220729194106.1207472-1-song@kernel.org> In-Reply-To: <20220729194106.1207472-1-song@kernel.org> To: Song Liu Cc: bpf@vger.kernel.org, linux-kernel@vger.kernel.org, live-patching@vger.kernel.org, daniel@iogearbox.net, kernel-team@fb.com, jolsa@kernel.org, rostedt@goodmis.org, andrii@kernel.org X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to bpf/bpf-next.git (master) by Andrii Nakryiko : On Fri, 29 Jul 2022 12:41:06 -0700 you wrote: > Then multiple threads are attaching/detaching fentry/fexit programs to > the same trampoline, we may call register_fentry on the same trampoline > twice: register_fentry(), unregister_fentry(), then register_fentry again. > This causes ftrace_set_filter_ip() for the same ip on tr->fops twice, > which leaves duplicated ip in tr->fops. The extra ip is not cleaned up > properly on unregister and thus causes failures with further register in > register_ftrace_direct_multi(): > > [...] Here is the summary with links: - [bpf-next] bpf: fix test_progs -j error with fentry/fexit tests https://git.kernel.org/bpf/bpf-next/c/dc81f8d1e8ea You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html