Fix OvsDoRecirc to use the right PortId when there is a flow miss. This is
used to determine if a packet is received or transmitted by comparing
against the virtualExternalPortId.
Signed-off-by: Sairam Venugopal <vsairam@vmware.com>
Acked-by: Nithin Raju <nithin@vmware.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
}
status = OvsCreateAndAddPackets(NULL, 0, OVS_PACKET_CMD_MISS,
vport, key, ovsFwdCtx.curNbl,
- srcPortNo ==
+ vport->portId ==
switchContext->virtualExternalPortId,
&ovsFwdCtx.layers,
ovsFwdCtx.switchContext,