CVSROOT: /cvs Module name: src Changes by: henn...@cvs.openbsd.org 2014/07/11 04:48:50
Modified files: sys/net : if_vlan.c Log message: switch from bpf_mtap to the shiny new bpf_mtap_stripvlan. bpf listeners on a vlan interface don't expect to see a vlan header (you expect those on the underlaying if). since we no longer prepend an ethernet header to later throw it away and prepend an ether_vlan_header, we prepend a ether_vlan_header right away. to unconfuse bpf listeners we need to cut the 4 extra bytes out, which is what bpf_mtap_stripvlan does. problem noticed by dlg with dhcrelay, ok benno dlg