git: 7ba975426834 - stable/13 - bpf: Add a comment on the large `#ifdef _KERNEL` block

From: Zhenlei Huang <zlei_at_FreeBSD.org>
Date: Tue, 24 Sep 2024 05:03:19 UTC
The branch stable/13 has been updated by zlei:

URL: https://cgit.FreeBSD.org/src/commit/?id=7ba9754268344da81b697df04ef3d05441022be0

commit 7ba9754268344da81b697df04ef3d05441022be0
Author:     Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2024-09-20 10:06:22 +0000
Commit:     Zhenlei Huang <zlei@FreeBSD.org>
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).