It works without the commit I referenced.
@blogic can you comment on my VLAN issues? Until a few days ago, my gl-b1300 was working fine with VLAN tagging. To eliminate my config, I downloaded the latest gl-b1300 sysupgrade file from openwrt.org, uploaded the file via the recovery UI, and made the changes below. Once the router is rebooted, no LAN client could obtain an IP address. I built the firmware without the file target/linux/ipq40xx/patches-4.14/716-essedma-vlan-double-tag.patch
that you recently authored, and everything is working again. Has the VLAN configuration changed?
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '3'
option vid '3'
option ports '3 0t'
config switch_vlan
option device 'switch0'
option vlan '4'
option vid '4'
option ports '4 0t'
uci set network.lan.ifname='eth0.3 eth0.4'
uci commit network