Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1768275ybe; Sat, 7 Sep 2019 02:30:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqwgN7hEHPlm3cdHKZUlMbPt1Of237gGX0qOJlQJt8fSGE+t8N5ouI4MEEYNX+AtnKEORkPy X-Received: by 2002:a17:902:d714:: with SMTP id w20mr10609768ply.29.1567848626762; Sat, 07 Sep 2019 02:30:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567848626; cv=none; d=google.com; s=arc-20160816; b=Zr2vjfwe8OOM+dQtcZRNC8OyszW2Fycqn098HARGupIgnkEQWbQmgFz0sJD4cEnVek E6exkj2eRhJ8XvGwKz/yWqaHsNJBN+rDn0Q1I2wpAPXqyuTcOgNgFEBNjHNDZApkG7Nw Y6RL+CAipjjrGnNKnzKWzOFCrKhN3WipgOHt6mfrlaWICOCik1o21izUi8q4jItLTUFj +Z4wZEqGXowvmzIBrJT3dd7koc6D31ivsW7spL6epVLpC9tNE7Pgf/LbJuGdL90pUYk4 AIsGHKqnjCKZ9kENZLt00T91IuWueR895hsV4/qyUxFl/GtulRmda+mW83h4qJBiMhie WFbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=NvfoOyEj+ih5o8wpzVxnSkvdM4Np7xE84LtSUp5GXZY=; b=Z/PI+jtcqepGfUJxwJKlesT93/KT1Q51AuaB8EuL/Tm5EUJb88PL7KGKBS//4y0+9t c6zGZLowdr7/T0iRL3rdeVk2FCpZMgmZbPBusP37+XsRihfgjLEIAg+3ZtYvV4d1a3yl xe+KW5WZzyniw7JV+7czzjvz1vSvDjfL/uIg4p67YMPDgOD7N6Zy/iH1lYMpfYlV+ffB 9aCyy0QS35QpSYII/hwpWI1cffzydqlH5dZwuqgOf2nuFxhEdTbEZ8DfLolh4WWuuHdS 2wDPVEHKKvJ2Y8PcjiJCh38CqzoYpgAjpDYn40MtWxN8CEtEJshqoPyxEJxH8jxiWB3B O17g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=a6Q9UjJn; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n1si5310804pjt.14.2019.09.07.02.30.11; Sat, 07 Sep 2019 02:30:26 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=a6Q9UjJn; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405957AbfIFRGg (ORCPT + 99 others); Fri, 6 Sep 2019 13:06:36 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:41709 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405919AbfIFRGg (ORCPT ); Fri, 6 Sep 2019 13:06:36 -0400 Received: by mail-lf1-f68.google.com with SMTP id j4so5637495lfh.8; Fri, 06 Sep 2019 10:06:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=NvfoOyEj+ih5o8wpzVxnSkvdM4Np7xE84LtSUp5GXZY=; b=a6Q9UjJnl32Gh5jKV9aA1ESbWUq3TasZZByboadX5fxEGDdpUcSpQoyCrMHes6mySc 3BIFissMrM21WksNtJtPzit0lLOoyBZ5dbrM1pFFZwhSHe1C35l3Q87JmPhJUYH4pAil EzLisbCm9JUYZPepSrNcMkvnW9bVeDi3a5EUIfGHdKVaNwnNFArWAZSYM4AMy9xliMCE o1cwETUsX8MAJqQXcJ0Arvf3wp2rXdzHeCbj7nlz/SNfaHwvlxsHBYaNIgjHEwcbYxto hIVrUPBjWpOQlmEJSnsL/YTcBsvJm0xSYD4/c8kwv3iWnUCirN2D3d2DPW1xA6Z1SZG9 i94w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NvfoOyEj+ih5o8wpzVxnSkvdM4Np7xE84LtSUp5GXZY=; b=dv2RJ12tEUFhhafx7L/2syEBAaXBQj4Sjqij1SdDLYMC/plJ4yGeeWig8Z81ZEYIty XgjEk3pOs4AFIK9SDJFH48rYU/80ezXQxum0c5L5RnvOwE4dQyR6BN0Fhcz6gvwPnwk5 hb8vSGWrUdoIaJDFCn/QxkuLAQcH6ulX+hpCJAX0WybBahhQtYHkG/G4+MfUPwp0gcVw CsIgwiwgI8RWhQMgCq3RofzlV8PJ04/nnoiO3RajTGjJbHL96RwmeHUPY0OKv4onY2GM n0MSjyWYMZgKlhAMjhP3jyvdMpZ6fJr8TA+UF4tfXyUbodiceMEVP93hHxyjc3UN84am 6GaA== X-Gm-Message-State: APjAAAURgl22LfbaJ1Uc5zsOWDCdV+8wCMmwmOH0Jpk40yJkGxaD6bzT IYMIvwRwyQNJqSls7r3zpIyPWmw0gZBVbr51kxg= X-Received: by 2002:ac2:558a:: with SMTP id v10mr6747840lfg.162.1567789593473; Fri, 06 Sep 2019 10:06:33 -0700 (PDT) MIME-Version: 1.0 References: <20190905211528.97828-1-samitolvanen@google.com> <0f77cc31-4df5-a74f-5b64-a1e3fc439c6d@fb.com> In-Reply-To: <0f77cc31-4df5-a74f-5b64-a1e3fc439c6d@fb.com> From: Alexei Starovoitov Date: Fri, 6 Sep 2019 10:06:21 -0700 Message-ID: Subject: Re: [PATCH] kcm: use BPF_PROG_RUN To: Yonghong Song Cc: Sami Tolvanen , "David S. Miller" , Tom Herbert , "netdev@vger.kernel.org" , "bpf@vger.kernel.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 6, 2019 at 3:03 AM Yonghong Song wrote: > > > > On 9/5/19 2:15 PM, Sami Tolvanen wrote: > > Instead of invoking struct bpf_prog::bpf_func directly, use the > > BPF_PROG_RUN macro. > > > > Signed-off-by: Sami Tolvanen > > Acked-by: Yonghong Song Applied. Thanks