Index: bpf.h =================================================================== RCS file: /cvs/src/sys/net/bpf.h,v retrieving revision 1.54 diff -u -p -r1.54 bpf.h --- bpf.h 2 Apr 2016 09:05:16 -0000 1.54 +++ bpf.h 2 Apr 2016 09:25:29 -0000 @@ -277,7 +277,8 @@ struct bpf_ops { #define BPF_STMT(code, k) { (u_int16_t)(code), 0, 0, k } #define BPF_JUMP(code, k, jt, jf) { (u_int16_t)(code), jt, jf, k } -u_int bpf_filter(const struct bpf_insn *, const u_char *, u_int, u_int); +u_int bpf_filter(const struct bpf_insn *, const u_char *, u_int, u_int) + __bounded((__buffer__, 2, 4)); u_int _bpf_filter(const struct bpf_insn *, const struct bpf_ops *, const void *, u_int);