From e30b58846003a54df028686363b5abed59897779 Mon Sep 17 00:00:00 2001 From: Zhenlei Huang Date: Fri, 20 Sep 2024 18:06:22 +0800 Subject: [PATCH] bpf: Add a comment on the large `#ifdef _KERNEL` block This improves readability a little. MFC after: 3 days --- 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 e44a7cd2359..2c227bb2f09 100644 --- a/sys/net/bpf.h +++ b/sys/net/bpf.h @@ -448,7 +448,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).