From nobody Tue Sep 24 04:32:09 2024 X-Original-To: dev-commits-src-all@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 4XCRls6jthz5XGRK; Tue, 24 Sep 2024 04:32:09 +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 4XCRls2Sm6z4RQC; Tue, 24 Sep 2024 04:32:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727152329; 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=+xwQuevP4coXettCN7/dO960j+5ZE1DX8AXMNuSr2x8=; b=J0JEOcJoxHKdNbX++gqkxfYCvU8sjOZvaGqP1y62fD2MgtDHrQ1yn20v6M3+W9QsVtv58J viydj8wgIPwhoZ8na+TqAovFmBkUwWWgzahyx/wX/3fxzMm2Hc+87SnazWxp0LhcuBkg0A mx09Gh0r3+0LFzutazH1GWidhYpBqx5DNMsCoOIDv+VDDC/Qb0z0TWeZuhbrjT4IaKsaYI k0TgidpD3Jj43vAZYz2M2Ljy+lWqDgG1PgxDg7yl7mbzwMVyqCA1tSLndd7ggMETmGRhPB hwlhIsxN011+JW3+YOsPjXg2oBhhkzhUzJme924legX54qxLG4b/PNSp63I08g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727152329; a=rsa-sha256; cv=none; b=ISh5BJfzh+MCRRngadO4ieWiURNuH/yVbf1oguf/Q3BIMmHYzt5dboYoVhllQedALk+2Xn G1bW1r2CwRDKWSlxYgd3ForfcT6X4scO5c8HRbyv8xbP0utQnOESMzfMWEIt+xStFrd6Y0 IXZCA+J7l5/lj4zSioE8xSb097dZw/uxOpSUteH05jELy+0SG+GsOTPO4Lq1jxH4QUDrSA +ghlwX7wRrXQS7YeqAeNUAjw0QJtIS/V7BRaAcLjKT6vSOahlgfFWvHl9iDWb18x0TutVY s03MD4zIoghqBpxJEZwIyYsqF8tQliYZmtrvku14wc/oZqXnGSyyxbERtSpBMQ== 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=1727152329; 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=+xwQuevP4coXettCN7/dO960j+5ZE1DX8AXMNuSr2x8=; b=xRCCiarwrgCtB+ygQW4bnH7ojz1Aawk7mALzGUKFSvDohI0FI8QL3m/9THdEmBmYPqif8O mffzjQ21VIhiQG4DG6i55oXCQDWXj9Qsfo8/c7HbY29fQgRKLt+50BoAWPXc8QOF3RfdVC V15ITdV2xpkOGnSp/ZLdmmHiortp9hLX2L81G3ZbdMn24IvM9zTXYTKhLG6V5mdU/ASIGo w673knhipxkS1zFGStkdXO2J4Vxw08oWsxQo5/A3xKAHGQAHZ+XGFIollOP2e1MJt3UKJp WTnzN4t2vQVI1FZix6400r1se1Ddfo97wcOcxILBa+/MkY9RnKiyGSnv4/IGiQ== 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 4XCRls1vgnz1CyS; Tue, 24 Sep 2024 04:32:09 +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 48O4W9AZ092995; Tue, 24 Sep 2024 04:32:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48O4W9hx092992; Tue, 24 Sep 2024 04:32:09 GMT (envelope-from git) Date: Tue, 24 Sep 2024 04:32:09 GMT Message-Id: <202409240432.48O4W9hx092992@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: e8ced9914389 - stable/14 - bpf: Add a comment on the large `#ifdef _KERNEL` block List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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/14 X-Git-Reftype: branch X-Git-Commit: e8ced991438950c49d7acca5d393209bbc143a38 Auto-Submitted: auto-generated The branch stable/14 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=e8ced991438950c49d7acca5d393209bbc143a38 commit e8ced991438950c49d7acca5d393209bbc143a38 Author: Zhenlei Huang AuthorDate: 2024-09-20 10:06:22 +0000 Commit: Zhenlei Huang CommitDate: 2024-09-24 04:30:49 +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) --- 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 ed3239971db5..b2dc1ea90bd1 100644 --- a/sys/net/bpf.h +++ b/sys/net/bpf.h @@ -451,7 +451,7 @@ bpf_peers_present(struct bpf_if *bpf) bpf_mtap_if((_ifp), (_m)) #define BPF_MTAP2(_ifp,_data,_dlen,_m) \ bpf_mtap2_if((_ifp), (_data), (_dlen), (_m)) -#endif +#endif /* _KERNEL */ /* * Number of scratch memory words (for BPF_LD|BPF_MEM and BPF_ST).