vswitch: Strip VLAN headers correctly.
authorBen Pfaff <blp@nicira.com>
Wed, 15 Apr 2009 17:47:52 +0000 (10:47 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 15 Apr 2009 17:47:52 +0000 (10:47 -0700)
commitb96193cded7a3de731670cd40e9d5b03ae5a682d
treee2963134f24db28407e0de3ecbe8d54bc7f8b74c
parent0dc996a81bec847de5fff732b5714161ba0cb583
vswitch: Strip VLAN headers correctly.

When a packet comes in on a trunk port and goes out on an implicit VLAN
port, we are supposed to strip the VLAN header (because it is implicit).
We were not doing so; instead, we were setting the VLAN field to all-1s.
Strip it properly, instead.
vswitchd/bridge.c