From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-186.mta1.migadu.com (out-186.mta1.migadu.com [95.215.58.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5085F3A4F2F; Tue, 24 Feb 2026 15:41:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.186 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771947705; cv=none; b=FO7DPiTgF2E9ApsD2tQUUHe/SLObwRzsFbwdy2guAfRb6rH91lJrs47u7Or9TVPyx1uUuNh+ZpWp52SrvNk0gYgz4oi+lS4ve6JZ+YB5FeK+tnGyfFAsej3dImIKrQZff6aYeMLeFRXSnPUyuUf+A3DQXlaq/9o9YwLuqpZ+O74= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771947705; c=relaxed/simple; bh=bmVgVbbAsIpP/rmDfom1zRhish8zs46PI2CTp495ax0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=REMf2PIylaV0e05J4BzmafOZGqdPRnY6oqnJ3VbIisjAmwF1oBLCGbyywdZ5+9FxQY1qbp/RWxnWA9z/Hfzn89o8ERitZv8ubpzQATJWs5jA1hTBBf8ofGkwaSptrGhsG8fmXYEm41uUBdZabMDcAi8OasDdLlIs5o2vqUJ5RIw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=IPsfAJWJ; arc=none smtp.client-ip=95.215.58.186 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="IPsfAJWJ" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1771947702; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SUijMo22lEst1QalzzO5DxpySqFjsbDhvTZO2rndGXo=; b=IPsfAJWJ+bwSmfJa/MvtuBb3vU1duUHYq7tVA2apCx+uCk6ajzEFMZhX9kj2o08gLCf1vU 8VrDFqd6fluPrDLF51sYVcR9gx29Jjn1ypzGzs/3onukFNtvyYWM8B/007eucABm4yd5sD X6dYtvVdD5IzOUSkzXF82m3G3/6Rujs= From: Leon Hwang To: bpf@vger.kernel.org Cc: Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Eduard Zingerman , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Shuah Khan , Feng Yang , Leon Hwang , Menglong Dong , Puranjay Mohan , =?UTF-8?q?Bj=C3=B6rn=20T=C3=B6pel?= , Pu Lehui , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, netdev@vger.kernel.org, kernel-patches-bot@fb.com Subject: [PATCH bpf-next 1/8] bpf: Add fsession to verbose log in check_get_func_ip() Date: Tue, 24 Feb 2026 23:40:17 +0800 Message-ID: <20260224154024.12504-2-leon.hwang@linux.dev> In-Reply-To: <20260224154024.12504-1-leon.hwang@linux.dev> References: <20260224154024.12504-1-leon.hwang@linux.dev> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT Since bpf_get_func_ip() is supported for fsession intuitively, add fsession to the verbose log in check_get_func_ip(). No functional change intended. Signed-off-by: Leon Hwang --- kernel/bpf/verifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/bpf/verifier.c b/kernel/bpf/verifier.c index 1153a828ce8d..9e9c04e08fba 100644 --- a/kernel/bpf/verifier.c +++ b/kernel/bpf/verifier.c @@ -11463,7 +11463,7 @@ static int check_get_func_ip(struct bpf_verifier_env *env) if (type == BPF_PROG_TYPE_TRACING) { if (!bpf_prog_has_trampoline(env->prog)) { - verbose(env, "func %s#%d supported only for fentry/fexit/fmod_ret programs\n", + verbose(env, "func %s#%d supported only for fentry/fexit/fsession/fmod_ret programs\n", func_id_name(func_id), func_id); return -ENOTSUPP; } -- 2.52.0