Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp1983944pxx; Sat, 31 Oct 2020 04:50:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzvfHRY9f0GvQcNFPhVvEL8W6HDNgcefJZmGOtDruh6nu+qHYTc1hS3CO7ig+j7ScKQaxRy X-Received: by 2002:aa7:cacd:: with SMTP id l13mr7135630edt.177.1604145003392; Sat, 31 Oct 2020 04:50:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604145003; cv=none; d=google.com; s=arc-20160816; b=Mge7QOnrHGq7EPCqaEVwMAInll896FRXuAC4U7LJwMMp/+E5zqlt59Jir1lAWY8hh5 PBUWt85TU1fIrLvPjNzkUpEFpegrpYWGoIP0CkcdupddMRAvFG10GpVRZs9S4AkagpmK fwTxzhdolMAIzsWkFpPGRP+L95ShdUFf/HEU9CPHeqRHyJsG7xgoVNLyFUUyuHezMYZe oGcbaqUMvodhxB4uLTZ3L/ZzzBkGfRTZj3E2b6/OZFnvWW7B080BZ48mVVwxnDPJoLYB Ix88ZReXpmaUXJfu65ODxyamPkVRXrFNtot4y7xD3eCT9lL+Mzs4QTW7dWJEK3buKz7R THWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=lMAjWzR9xFZdYC039GEjFGMIvidIc6qwmeVdA4S4+AA=; b=eoZPDtWmQfxIHGA3Woxe9OvXzSrbQ1UjLpuGh6h3lT+/zX7iXEfpe54L/eWZHpGU0b iER2qs5EcTbBt7umevYu2wgg6Aa0S4BRBy3Zm1n6J+odffhyZw5YIaKwgJyRqXITwAvn fvdLkHofq2jrTUztpJeUjZfvzEVUlNa/WiEJrXbgybIUU8D8PZTRG5yeQ4fxnB/e/F+x UNGQHunLYsS5eet/j96KjjoPm/0wlb/R1vZzpbhKipQ3dVgiRnLLHNLc1Un7bfywVzWW B23rlXusok+33gdmFWDRYJbb1yclrTfBeuKYH8QSGPZg5DrCp5Rzh6dYxieiLdliws2X xgnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Ci9byUZ6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d22si3454455ejz.82.2020.10.31.04.49.40; Sat, 31 Oct 2020 04:50:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Ci9byUZ6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727633AbgJaLpG (ORCPT + 99 others); Sat, 31 Oct 2020 07:45:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:42876 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727993AbgJaLnD (ORCPT ); Sat, 31 Oct 2020 07:43:03 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 60E7420731; Sat, 31 Oct 2020 11:43:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604144582; bh=iJFte8065XpYQaEbaGy6+rU4wpSKFGFUyTZNqfqVOjA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ci9byUZ6KeRt3Pdyo26rgEh96x/ne0uDnTuA/3q+VpyvWciAdKeRltMKwD9mun1Bm VaPvejKHFqjdaEhHMxfFJGajMezfoWfQNvangUsw9hs9SUHHbma4Q+/DhH85p5sNRN EXtamN/TI7grIFlUeYOboCM7LXd+h7Kv1NJnUFqs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Song Liu , Alexei Starovoitov Subject: [PATCH 5.8 56/70] bpf: Fix comment for helper bpf_current_task_under_cgroup() Date: Sat, 31 Oct 2020 12:36:28 +0100 Message-Id: <20201031113502.182234220@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201031113459.481803250@linuxfoundation.org> References: <20201031113459.481803250@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Song Liu commit 1aef5b4391f0c75c0a1523706a7b0311846ee12f upstream. This should be "current" not "skb". Fixes: c6b5fb8690fa ("bpf: add documentation for eBPF helpers (42-50)") Signed-off-by: Song Liu Signed-off-by: Alexei Starovoitov Cc: Link: https://lore.kernel.org/bpf/20200910203314.70018-1-songliubraving@fb.com Signed-off-by: Greg Kroah-Hartman --- include/uapi/linux/bpf.h | 4 ++-- tools/include/uapi/linux/bpf.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) --- a/include/uapi/linux/bpf.h +++ b/include/uapi/linux/bpf.h @@ -1416,8 +1416,8 @@ union bpf_attr { * Return * The return value depends on the result of the test, and can be: * - * * 0, if the *skb* task belongs to the cgroup2. - * * 1, if the *skb* task does not belong to the cgroup2. + * * 0, if current task belongs to the cgroup2. + * * 1, if current task does not belong to the cgroup2. * * A negative error code, if an error occurred. * * int bpf_skb_change_tail(struct sk_buff *skb, u32 len, u64 flags) --- a/tools/include/uapi/linux/bpf.h +++ b/tools/include/uapi/linux/bpf.h @@ -1416,8 +1416,8 @@ union bpf_attr { * Return * The return value depends on the result of the test, and can be: * - * * 0, if the *skb* task belongs to the cgroup2. - * * 1, if the *skb* task does not belong to the cgroup2. + * * 0, if current task belongs to the cgroup2. + * * 1, if current task does not belong to the cgroup2. * * A negative error code, if an error occurred. * * int bpf_skb_change_tail(struct sk_buff *skb, u32 len, u64 flags)