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

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


  Branch: refs/heads/branch-2.5
  Home:   https://github.com/openvswitch/ovs
  Commit: dda099c58bcdcd03aabe643f45d2e0cdc48bd6f6
      https://github.com/openvswitch/ovs/commit/dda099c58bcdcd03aabe643f45d2e0cdc48bd6f6
  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