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 2C61048033C for ; Tue, 3 Mar 2026 15:07:34 +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=1772550455; cv=none; b=bPp5s7UGI2Il+kt3qAGSuB7SdKjRzROPFhOctyuetS33ScoyUZ4OVtC2XdHLX0DehlKlKRwQnAAhuso8ofLe47GhS6Xy+xYurFNgKgQjBEqYR1viie8bOJsBdERyiWJACvD3glqwljATMiPgo8qzIsHvlYmtyZUHc6jiZ3AspEA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772550455; c=relaxed/simple; bh=/n9d+NC8JOM19qYu10Vbdt4z3rtQyN0QXnMlGzk4p90=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=suJMjH4i136LaBJB2jGRdaeMvxEI47KzDXpwWkg3050XJ9T39B/hBdQlMSw3yeOOo2sw0kNlXJ8ii6Mt3ZOePzbj6jM0XMKI7CtbPQi//lTvx9hPn7zDrj6dST5hoDhZu1/sks4wgClInFVMls732gtKDyN/e5cMiVUW3tCfzNg= 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=JF39+mVn; 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="JF39+mVn" 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=1772550452; 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=PxXd5uD0uoa/0anu8jDjtKQ562RChNx+PmdQxbvuGhg=; b=JF39+mVnN4ftSUMPrk5F1ElabRyimfvki28MDVChHanYg9cgmOtuFYSqKIrFdkFdOOs6wK 317rc4gmder5jcZ5PCZInDa3Amnx0uhZHKGXE1g7sCEqWMXeaPXjDN3mRilO5wxYeFKP7w 1gCIJWlMjc0C6diXQDY9nc8jbJnCpV8= 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 v3 1/6] bpf: Add fsession to verbose log in check_get_func_ip() Date: Tue, 3 Mar 2026 23:06:34 +0800 Message-ID: <20260303150639.85007-2-leon.hwang@linux.dev> In-Reply-To: <20260303150639.85007-1-leon.hwang@linux.dev> References: <20260303150639.85007-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, add fsession to the verbose log message 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 fc4ccd1de569..636836a315b7 100644 --- a/kernel/bpf/verifier.c +++ b/kernel/bpf/verifier.c @@ -11493,7 +11493,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