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 16:42:08 +0000 (09:42 -0700)
commitf3b4cf5e2235af53b9e1cc4ecce00e265e115ddf
tree0ff39d91cfa0192a2ddd0367dca862a4ed6ab761
parent18819c01184dab02196d25a2b1dd758829a4bb9e
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