git: e8ced9914389 - stable/14 - bpf: Add a comment on the large `#ifdef _KERNEL` block
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 24 Sep 2024 04:32:09 UTC
The branch stable/14 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=e8ced991438950c49d7acca5d393209bbc143a38 commit e8ced991438950c49d7acca5d393209bbc143a38 Author: Zhenlei Huang <zlei@FreeBSD.org> AuthorDate: 2024-09-20 10:06:22 +0000 Commit: Zhenlei Huang <zlei@FreeBSD.org> 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).