From a2a9e8e991f9582b001597963859df57abaa95aa Mon Sep 17 00:00:00 2001 From: Jesse Gross Date: Thu, 21 Oct 2010 11:30:42 +0000 Subject: [PATCH] --- yaml --- r: 215524 b: refs/heads/master c: 0988c4c7fb5881377ec20a6452f739a722e97c6b h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/linux/if_vlan.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 021557670191..4e109365d2fa 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2198a10b501fd4443430cb17e065a9e859cc58c9 +refs/heads/master: 0988c4c7fb5881377ec20a6452f739a722e97c6b diff --git a/trunk/include/linux/if_vlan.h b/trunk/include/linux/if_vlan.h index a0d9786c202d..c2f3a72712ce 100644 --- a/trunk/include/linux/if_vlan.h +++ b/trunk/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; }