Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1785168rwe; Sat, 27 Aug 2022 17:26:47 -0700 (PDT) X-Google-Smtp-Source: AA6agR58KzZwC+/og9X/erY3o88rmz1JRc7rggJuF6d9ho0ZPKvMwdU2wva3oacOfexBt0+4QmZE X-Received: by 2002:a17:907:2856:b0:73d:dd82:4ef0 with SMTP id el22-20020a170907285600b0073ddd824ef0mr6962199ejc.571.1661646407579; Sat, 27 Aug 2022 17:26:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661646407; cv=none; d=google.com; s=arc-20160816; b=l0Y0xTr2r3V5pgMIffnXQT+CTtU29mhQribI7HYd23/BTJLNgjCArJP01VVlpyBKI4 k/idJTpjUz3HFdq0WzCOvoLEpSBl9KwNRtPC7usmf3SA6lIljXkBZdoKfK2w7DyfVG+v 83mJYysSFoTYW/9nEIHdU0KwyJnuTMyExvlk0B5/mWb5/4RfeUYp8T2JMySq/6m/sn+i 59AcIRPtnuTl5ZBLtf97XQVsr5ycnukQKpWLDSeLjtIpEgmfnayQ9GtH84M37fP1+chY TBQkdi+i52vJ/85aSeuwe4sxIPcLdVLWkxdI5VyDZ6i+3BNRsq8ADhfvM6z1mX+xh9zK dhkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=gXhVvO/PrBTrxg0AflKNlLBhyVvvXS6mDZ5icDd5kBQ=; b=VsrUm7zrbFz2W0iq6N7dDNP2G8rUluu5vlP9UvCA1UWdPjLCY+puEVC1h2Onbp/IAE q00Pv42CJApCfvw/W1bIrtcQCOtIdidEH84ioJ1m2CVa5IvltMXsbwjCNqzEsss/OVii LRn1tqdkcLEVWD3dg2N44XbJKi6VGrW23z7GIFeAx1QlRLr4yeC9VcQigDd7vRQmkQB0 1DaDOEU779hnBvIrClzdGjhIiz2wyIavglAtglw+xH2zkB0BjObfP5bRx69UMlPXZewv rY/k1LYcugIIiAGvQogCoDWs3B2WARQJvc93YTmpZnH5uhJHtzcSIo1TZLkqmg9Trw7T d6Ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bWfeM7W7; 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 t23-20020a170906269700b0073d669650ccsi3442952ejc.951.2022.08.27.17.26.23; Sat, 27 Aug 2022 17:26:47 -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=bWfeM7W7; 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 S229810AbiH0Xdw (ORCPT + 99 others); Sat, 27 Aug 2022 19:33:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229776AbiH0Xdu (ORCPT ); Sat, 27 Aug 2022 19:33:50 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28F9F356F0 for ; Sat, 27 Aug 2022 16:33:47 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 947B760E08 for ; Sat, 27 Aug 2022 23:33:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EFBA7C43144 for ; Sat, 27 Aug 2022 23:33:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661643226; bh=gXhVvO/PrBTrxg0AflKNlLBhyVvvXS6mDZ5icDd5kBQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=bWfeM7W7/KDv332BBK05xiA2S37nvl+KPMWlPSJzkCn7TvqFPfFxIWHLbTSpsp5Bq CHxb5h1ZuLCBDI218LafZux550l3MmZ9pCfpTRxrtdD5pB8ZXTktyA4KHhIOaiiGIy NIHEk/iBVQzzSh3AOYwnyTO/pGTDaOlqdhGg4AM8cOYQDiup4odBgaoX0XQ9P9UryK byDOvFvBC1BdB9GOSAZMVh6+MvA8lS30N1DH5QeD3uxLgrtMcsnSvZpCsGXM20YdLo EVGELAHlgnlNjQLvqmtYoL9obi3IEAOI0YhRWo7HbGkBA0NA3+T5sMNdv0qz+RJsDc cnhhaDrgBFA4w== Received: by mail-qk1-f171.google.com with SMTP id b2so3764187qkh.12 for ; Sat, 27 Aug 2022 16:33:45 -0700 (PDT) X-Gm-Message-State: ACgBeo3VMJIdFFKK7IlL7ZbO1TPwpw+f1Ll/Fw2hvF6M1MNVP0qq7oKC wEkEBvel2aIMGSmGZug+exr+CUzEgwAcSiwZKeVxlw== X-Received: by 2002:ac8:7c47:0:b0:343:5878:83e4 with SMTP id o7-20020ac87c47000000b00343587883e4mr5072825qtv.101.1661643214316; Sat, 27 Aug 2022 16:33:34 -0700 (PDT) MIME-Version: 1.0 References: <20220823150035.711534-1-roberto.sassu@huaweicloud.com> <20220823150035.711534-4-roberto.sassu@huaweicloud.com> In-Reply-To: <20220823150035.711534-4-roberto.sassu@huaweicloud.com> From: KP Singh Date: Sun, 28 Aug 2022 01:33:23 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v13 03/10] bpf: Export bpf_dynptr_get_size() To: Roberto Sassu Cc: ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, martin.lau@linux.dev, song@kernel.org, yhs@fb.com, john.fastabend@gmail.com, sdf@google.com, haoluo@google.com, jolsa@kernel.org, mykolal@fb.com, corbet@lwn.net, dhowells@redhat.com, jarkko@kernel.org, rostedt@goodmis.org, mingo@redhat.com, paul@paul-moore.com, jmorris@namei.org, serge@hallyn.com, shuah@kernel.org, bpf@vger.kernel.org, linux-doc@vger.kernel.org, keyrings@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, deso@posteo.net, Roberto Sassu , Joanne Koong Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-7.1 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,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 On Tue, Aug 23, 2022 at 5:02 PM Roberto Sassu wrote: > > From: Roberto Sassu > > Export bpf_dynptr_get_size(), so that kernel code dealing with eBPF dynamic > pointers can obtain the real size of data carried by this data structure. > > Reviewed-by: Joanne Koong > Signed-off-by: Roberto Sassu Acked-by: KP Singh