check if the packet is for us or if we're promisc before we cut the
authordlg <dlg@openbsd.org>
Wed, 27 May 2015 12:23:44 +0000 (12:23 +0000)
committerdlg <dlg@openbsd.org>
Wed, 27 May 2015 12:23:44 +0000 (12:23 +0000)
commitc0a68582ec672efb747df40de4e4bf923a689a94
tree0004417aedaf8f7ceef672461c9556ad1746f622
parent9e16ec652a8805fa9f2f1fc730b19cce43f9d918
check if the packet is for us or if we're promisc before we cut the
vlan header out of the packet.

fixes rx on top of trunks on top of nics that dont do hw vlan tagging.

ok mpi@
sys/net/if_vlan.c