mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-07-18 05:36:57 +08:00
ramips: fix vlan retag on mt7621
This commit is contained in:
parent
f9937359c3
commit
f2966113d1
@ -934,7 +934,7 @@ static int fe_poll_rx(struct napi_struct *napi, int budget,
|
|||||||
skb->protocol = eth_type_trans(skb, netdev);
|
skb->protocol = eth_type_trans(skb, netdev);
|
||||||
|
|
||||||
if (netdev->features & NETIF_F_HW_VLAN_CTAG_RX &&
|
if (netdev->features & NETIF_F_HW_VLAN_CTAG_RX &&
|
||||||
RX_DMA_VID(trxd.rxd3))
|
RX_DMA_TAG & trxd.rxd2 && RX_DMA_VID(trxd.rxd3))
|
||||||
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q),
|
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q),
|
||||||
RX_DMA_VID(trxd.rxd3));
|
RX_DMA_VID(trxd.rxd3));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user