packets: Mask out CFI bit in eth_push_vlan().
authorEthan Jackson <ethan@nicira.com>
Tue, 3 Jan 2012 18:42:56 +0000 (10:42 -0800)
committerEthan Jackson <ethan@nicira.com>
Tue, 10 Jan 2012 22:30:01 +0000 (14:30 -0800)
commit2f4ca41b9c771dc09e6130e0ff5ecf64acd79c0f
treeeae2cff4cff732b95b536026376ada2e0400a92b
parentec14ac26857f49968e48fa7b1ad85a07c1bfcc8d
packets: Mask out CFI bit in eth_push_vlan().

We should never push a VLAN tag with the CFI bit set.  This patch
defensively enforces this invariant.

Signed-off-by: Ethan Jackson <ethan@nicira.com>
lib/dpif-netdev.c
lib/flow.c
lib/packets.c