diff --git a/include/linux/if_vlan.h b/include/linux/if_vlan.h index a0d9786c202dac16ad01f1766379f7e269c51751..c2f3a72712cec86a63699690096b928f1a1db6a2 100644 --- a/include/linux/if_vlan.h +++ b/include/linux/if_vlan.h @@ -168,7 +168,8 @@ static inline int __vlan_hwaccel_rx(struct sk_buff *skb, struct vlan_group *grp, static inline bool vlan_hwaccel_do_receive(struct sk_buff **skb) { - BUG(); + if ((*skb)->vlan_tci & VLAN_VID_MASK) + (*skb)->pkt_type = PACKET_OTHERHOST; return false; }