[ovs-git] [openvswitch/ovs] 81d63a: netdev-linux: double tagged packets should use 0x8...

GitHub noreply at github.com
Tue Oct 4 15:48:35 UTC 2016

  Branch: refs/heads/branch-2.6
  Home:   https://github.com/openvswitch/ovs
  Commit: 81d63ad867fd9649b5e5a08f65cbbed6d5ec3d11
  Author: Eric Garver <e at erig.me>
  Date:   2016-10-04 (Tue, 04 Oct 2016)

  Changed paths:
    M lib/netdev-linux.c

  Log Message:
  netdev-linux: double tagged packets should use 0x88a8

We need to check if a packet is double tagged. If so make sure to push
0x88a8 instead of 0x8100. Without this a simple port redirect of 802.1ad
frames means the outer tag gets translated from 0x88a8 to 0x8100 by the
userspace datapath.

This only affected kernels that don't use TP_STATUS_VLAN_TPID_VALID,
which is kernels < 3.14.

Signed-off-by: Eric Garver <e at erig.me>
Signed-off-by: Ben Pfaff <blp at ovn.org>

More information about the git mailing list