54343e
diff -up dhcp-4.2.5/common/lpf.c.vlan dhcp-4.2.5/common/lpf.c
54343e
--- dhcp-4.2.5/common/lpf.c.vlan	2015-10-13 18:48:35.180447618 +0200
54343e
+++ dhcp-4.2.5/common/lpf.c	2015-10-13 18:51:29.797079032 +0200
54343e
@@ -521,6 +521,10 @@ ssize_t receive_packet (interface, buf,
54343e
 		if (cmsg->cmsg_level == SOL_PACKET &&
54343e
 		    cmsg->cmsg_type == PACKET_AUXDATA) {
54343e
 			struct tpacket_auxdata *aux = (void *)CMSG_DATA(cmsg);
54343e
+			/* Discard packets with stripped vlan id */
54343e
+			/* VLAN ID is only bottom 12-bits of TCI */
54343e
+			if (aux->tp_vlan_tci & 0x0fff)
54343e
+				return 0;
54343e
 			nocsum = aux->tp_status & TP_STATUS_CSUMNOTREADY;
54343e
 		}
54343e
 	}