datapath-windows: Allow encapsulation if source is bridge-internal port.
authorNithin Raju <nithin@vmware.com>
Fri, 24 Oct 2014 18:41:17 +0000 (11:41 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 28 Oct 2014 16:13:48 +0000 (09:13 -0700)
commit30bc81536d74f0dbc9fade5ec469412b22419a3d
tree065f750cd6cac2d5c260e72255d49e9637499683
parent542cc9bb8b8817866afcd692a78fa591db5839dc
datapath-windows: Allow encapsulation if source is bridge-internal port.

It has been observed that when userspace generates and executes that
packet, the source port of such a packet is set to the bridge-internal
port. Currently, we allow encapsulation only if the source port is a VIF
port or no port. We relax the check in this patch.

Signed-off-by: Nithin Raju <nithin@vmware.com>
Acked-by: Ankur Sharma <ankursharma@vmware.com>
Acked-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
Tested-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
datapath-windows/ovsext/Actions.c