components/openvswitch/files/lib/util-solaris.c
changeset 6538 a53c8be7d7b3
parent 6160 50085258c4b0
child 6556 692ea531a2fc
--- a/components/openvswitch/files/lib/util-solaris.c	Tue Aug 02 09:22:09 2016 -0700
+++ b/components/openvswitch/files/lib/util-solaris.c	Tue Aug 02 13:15:22 2016 -0700
@@ -1624,6 +1624,12 @@
 			goto out;
 	}
 
+	/*
+	 * when "f" is filled in by the parse_vlan() function, VLAN_CFI bit is
+	 * set blindly. Unset this bit now since we don't set this bit in
+	 * Solaris for VLAN packets.
+	 */
+	f->vlan_tci &= htons(~VLAN_CFI);
 	if ((f->vlan_tci != 0) || (m->vlan_tci != htons(0xffff))) {
 		err = dlmgr_DLValue_fm_putulong(ddvp, ddmp,
 		    "vlan-tci", ntohs(f->vlan_tci),