]> git.proxmox.com Git - ovs.git/commit - lib/dpif.c
dpif: When executing actions needs help, use "set" action to set tunnel.
authorBen Pfaff <blp@nicira.com>
Tue, 24 Jun 2014 23:39:33 +0000 (16:39 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 25 Jun 2014 00:12:22 +0000 (17:12 -0700)
commit2b651e449bb0005403e7a0474d56be2752567f4f
treeae3f2ee3645510732b8ad177f94ffe6b7b21d797
parentccf4378615e93618e6ab8423fa1400b40876df91
dpif: When executing actions needs help, use "set" action to set tunnel.

Open vSwitch userspace is able to implement some actions that the kernel
doesn't support, such as modifying ARP fields.  When it does this for a
tunneled packet, it needs to supply the tunnel information with a "set"
action, because the Linux kernel datapath throws away tunnel information
supplied in the OVS_PACKET_CMD_EXECUTE metadata argument.

VMware-BZ: #1270110
Reported-by: Srinivas Neginhal <sneginha@vmware.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
lib/dpif.c