[PATCH openEuler-1.0-LTS] vlan: enforce underlying device type