diff options
author | 2016-05-10 23:48:07 +0000 | |
---|---|---|
committer | 2016-05-10 23:48:07 +0000 | |
commit | 3b1d1411b85fc2e289fc82d776923059eaab39e9 (patch) | |
tree | 6578b50b6db6a5b5584f7663bb47d7fbd944293b /sys/lib/libkern | |
parent | Do not close the stdio file desciptors in init(8), but dup2(2) them (diff) | |
download | wireguard-openbsd-3b1d1411b85fc2e289fc82d776923059eaab39e9.tar.xz wireguard-openbsd-3b1d1411b85fc2e289fc82d776923059eaab39e9.zip |
make the bpf tap functions take const struct mbuf *
this makes it more obvious that the bpf code should only read
packets, never modify them.
now possible because the paths that care about M_FILDROP set it
after calling bpf_mtap.
ok mpi@ visa@ deraadt@
Diffstat (limited to 'sys/lib/libkern')
0 files changed, 0 insertions, 0 deletions