Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp46240imm; Tue, 21 Aug 2018 14:17:35 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaiVQGyZDlOsk7cpHSsTCpq3B1ZmV8rnUwCSF7CZ642fHPLQheS75x5NWivNU3BuIBncPSf X-Received: by 2002:a62:2a48:: with SMTP id q69-v6mr350868pfq.86.1534886255160; Tue, 21 Aug 2018 14:17:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534886255; cv=none; d=google.com; s=arc-20160816; b=TjK7T0nlZCNlnJyRuChCC8Qj1qUdj/hyZA0V7bOVBIYJjwcZjPSNkYFP/ei3hGRP4l zhVi7ZxEDKzyuj7z+FEZfjvlkTlraJOFxdxkjTlbgPuY+v2LvO9I6ZDsDCYyTADgRvC2 bp1YImOnkhiIsYlKTCFtgYj3hyc1WvHFGOtLBoyQhXpJuIEzT1PkZ51akEK+qdWG4mEW uc6GsCEH0gKu5AGQazZVQVUyq9dTQzeEpLvbvv47tNoAVzu827DuPUgWm+SVe5XYLAm1 15xmffri6aNxyaY3l/XOxagv8DokhU0VFli+bNT71WuaiTT2YVDkRttvabirmxU2w3g2 9tWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=hQK6oYfGEUmPopJB5LGz6yPgRcOdHnvuwKaT15Wwgf8=; b=zkYjWegDJ3hjEwDp2X8Zji3YiGYDbVzQ93sygy4VdBO2IdPipGyXwexwpxQTbWXv2c 4LfxbQf+Zx4FXwLTf76bdQ5585D5IHOMbDu0o73jnAfBFgpJt0bQOKnCvCEgXipSdEz+ gBOZyQrIEGlKqjkYM0eqDZaa7g79KzTQ47Xr/xKnkj/xnvG/DiT/SE36p7EyQ0QXd6s+ 3TjvNrEjphQZ3QHXs0rJCuYmwXEKhUiDBqM5jAeKfA/M3+VlaIVuP/IWe/xs0IR0W69C WnaQpdSXXjiG1ABBJrR8DvwRtDh51qoPgyMZRaLMCah1u/YDQyAcSTSJqCld4KzLCCCt A7iw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x8-v6si13260697pgl.660.2018.08.21.14.16.57; Tue, 21 Aug 2018 14:17:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727632AbeHUXcy (ORCPT + 99 others); Tue, 21 Aug 2018 19:32:54 -0400 Received: from www62.your-server.de ([213.133.104.62]:33213 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726861AbeHUXcx (ORCPT ); Tue, 21 Aug 2018 19:32:53 -0400 Received: from [78.46.172.3] (helo=sslproxy06.your-server.de) by www62.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.85_2) (envelope-from ) id 1fsCzk-0008H5-8u; Tue, 21 Aug 2018 22:11:16 +0200 Received: from [178.197.248.16] (helo=linux.home) by sslproxy06.your-server.de with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1fsCzk-000Tfw-3J; Tue, 21 Aug 2018 22:11:16 +0200 Subject: Re: [PATCH] libbpf: Remove the duplicate checking of function storage To: Jakub Kicinski , Taeung Song Cc: Alexei Starovoitov , Linux Netdev List , LKML References: <20180821161258.19718-1-treeze.taeung@gmail.com> From: Daniel Borkmann Message-ID: Date: Tue, 21 Aug 2018 22:11:15 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Authenticated-Sender: daniel@iogearbox.net X-Virus-Scanned: Clear (ClamAV 0.100.1/24863/Tue Aug 21 18:48:32 2018) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/21/2018 06:46 PM, Jakub Kicinski wrote: > On Tue, Aug 21, 2018 at 6:12 PM, Taeung Song wrote: >> After the commit eac7d84519a3 ("tools: libbpf: don't return '.text' >> as a program for multi-function programs"), bpf_program__next() >> in bpf_object__for_each_program skips the function storage such as .text, >> so eliminate the duplicate checking. >> >> Cc: Jakub Kicinski >> Signed-off-by: Taeung Song > > Looks reasonable, but you may need to repost once bpf-next is open: > > https://www.kernel.org/doc/Documentation/networking/netdev-FAQ.txt > > Acked-by: Jakub Kicinski Agree, please resubmit once bpf-next opens up again. Thanks!