CVSROOT:        /cvs
Module name:    src
Changes by:     d...@cvs.openbsd.org    2021/02/19 21:39:16

Modified files:
        sys/net        : if_tun.c 

Log message:
let tun use bpf_mtap for handling input packets.

tun (not tap) input packets are written from userland in the same
format that it's bpf dlt is expecting, so we can push the packet
straight into bpf with bpf_mtap. this is more correct that using
bpf_mtap_ether for tun.

Reply via email to