|
@@ -168,6 +168,7 @@ static int batadv_interface_tx(struct sk_buff *skb,
|
|
|
case ETH_P_8021Q:
|
|
|
vhdr = (struct vlan_ethhdr *)skb->data;
|
|
|
vid = ntohs(vhdr->h_vlan_TCI) & VLAN_VID_MASK;
|
|
|
+ vid |= BATADV_VLAN_HAS_TAG;
|
|
|
|
|
|
if (vhdr->h_vlan_encapsulated_proto != ethertype)
|
|
|
break;
|
|
@@ -331,6 +332,7 @@ void batadv_interface_rx(struct net_device *soft_iface,
|
|
|
case ETH_P_8021Q:
|
|
|
vhdr = (struct vlan_ethhdr *)skb->data;
|
|
|
vid = ntohs(vhdr->h_vlan_TCI) & VLAN_VID_MASK;
|
|
|
+ vid |= BATADV_VLAN_HAS_TAG;
|
|
|
|
|
|
if (vhdr->h_vlan_encapsulated_proto != ethertype)
|
|
|
break;
|