projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
datapath: Don't drop packets with partial vlan tags.
[openvswitch]
/
datapath
/
actions.c
diff --git
a/datapath/actions.c
b/datapath/actions.c
index 88eca6cdb0b2d65b42aae85f49a36087b2da12f1..03fef92234bb9565a12ae71bf8ee489720ddadc7 100644
(file)
--- a/
datapath/actions.c
+++ b/
datapath/actions.c
@@
-112,7
+112,7
@@
static int push_vlan(struct sk_buff *skb, const struct ovs_action_push_vlan *vla
+ ETH_HLEN, VLAN_HLEN, 0));
}
- __vlan_hwaccel_put_tag(skb, ntohs(vlan->vlan_tci));
+ __vlan_hwaccel_put_tag(skb, ntohs(vlan->vlan_tci)
& ~VLAN_TAG_PRESENT
);
return 0;
}