[PATCH 5.4 306/328] vlan: enforce underlying device type