From nobody Tue Sep 24 05:03:19 2024 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XCSRq4D2xz5XJ6s; Tue, 24 Sep 2024 05:03:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XCSRq3hf9z4WgG; Tue, 24 Sep 2024 05:03:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727154199; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=s/StfHfumnzDkLwv3+GPMMCVNgYz+qQAFAetCEFNjbM=; b=V1O7TWYHoIFIlPm4p83LW+CIMyIpt2CivCXtcTOq+7ZMg+hSnhv41k9SreZzOUvD+78ic3 xOeSW5IJMH+zXNFFBYqvSigf9nL3tNgFcg04waMOOP5fihRmxwTob9Kyj4fmxviw8WMT/H n6ewHwJWyE3rjExgo6q+fkrE/NgOnxBAwjtVtlNwOxzVwzNda5WY8OYh4UHlgV8s1wOTO7 QLc8UufkyMD6kKGyGwMvn1jHF+5KZjficd2BMIcvUmAmNlqqM7xJQuMQJv3lssbSme8S4M M020hjc7NTKwOkdiLXfrDQc1wG4+AltprGkgF4BYm5WZwTiFpUBS8EGwQljpGg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727154199; a=rsa-sha256; cv=none; b=aFwz0WLz8K/qKk3rSERKrB9pd6Rk60LAPlizNKMLtu9YPSj1xk27E1tVtieD4bQ1k63oY6 PZDHWEXG6QJtC8qPpTENxSDaLV0q0jPSIXd4XU8ZzcJZT1b3II+d0Aloxqw/PCWzwCpSHy vEfsaQLthJHor0fEXqG6maooid0yPeWqV0gH8hMs/uDW0x7KQI254ohWjPr90vhBhcQ+pa IG+ZYJUMEwMMUsVvlzJU2Qp1NbtpgXg1/91fhZeRjKjyha+i0RYEM3oLWMB7dkRweyS9D8 DY6ObAOIxRTDw9UJZVf/YDsWtsg2qBsEgpXHLiuGKQVJAZmKVpuLpOtBzspXCg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727154199; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=s/StfHfumnzDkLwv3+GPMMCVNgYz+qQAFAetCEFNjbM=; b=izLSzkfiOZx3pERcAXQIbKP6Dmoy00qrqdDaT8SyFXTRb5vnMAneH+UntCJzVUz+O9/MwS QZ+xRwpEY9C4NoKnYu0auEsoI7F3PrubyyKKbrFpqLvOwDf3klzJ1bpEehFOoGhFMnCXjs +Zp/PbXLaOdlM4rD/D+sElB6nYmLlHYvaDO3hCK1X21zvzAIhGghomQ0ns79VzfX7rzoPu qVxvcv1fZR8y61A6lBwl1cXFi0WS39oO7XuLeEFMlx13dg9gW5XnPic7EU36i+n2rP5qbd TExWvEj/ITTqIAv2zgGwxyK4goWGlRGNZj1jaGXqsEHV+yoqBsSP39ctbqngPw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XCSRq3HhkzFqZ; Tue, 24 Sep 2024 05:03:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48O53JOp046317; Tue, 24 Sep 2024 05:03:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48O53JDD046314; Tue, 24 Sep 2024 05:03:19 GMT (envelope-from git) Date: Tue, 24 Sep 2024 05:03:19 GMT Message-Id: <202409240503.48O53JDD046314@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Zhenlei Huang Subject: git: 7ba975426834 - stable/13 - bpf: Add a comment on the large `#ifdef _KERNEL` block List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: zlei X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 7ba9754268344da81b697df04ef3d05441022be0 Auto-Submitted: auto-generated The branch stable/13 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=7ba9754268344da81b697df04ef3d05441022be0 commit 7ba9754268344da81b697df04ef3d05441022be0 Author: Zhenlei Huang AuthorDate: 2024-09-20 10:06:22 +0000 Commit: Zhenlei Huang CommitDate: 2024-09-24 05:02:29 +0000 bpf: Add a comment on the large `#ifdef _KERNEL` block This improves readability a little. MFC after: 3 days (cherry picked from commit e30b58846003a54df028686363b5abed59897779) (cherry picked from commit e8ced991438950c49d7acca5d393209bbc143a38) --- sys/net/bpf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net/bpf.h b/sys/net/bpf.h index 347b764735d0..2fe8b6a78647 100644 --- a/sys/net/bpf.h +++ b/sys/net/bpf.h @@ -456,7 +456,7 @@ bpf_peers_present(struct bpf_if *bpf) bpf_mtap2((_ifp)->if_bpf,(_data),(_dlen),(_m)); \ } \ } while (0) -#endif +#endif /* _KERNEL */ /* * Number of scratch memory words (for BPF_LD|BPF_MEM and BPF_ST).