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:16:18 +0000 (17:16 -0700)
commit2187d8c72ad9695379f6ba30619bf25fb09db699
tree8bbbad4253b977efd3864004451aa815793f3a8e
parent803485697dd690490395a81685dd547bf38810af
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