Skip to content

Commit

Permalink
datapath-windows: Update Recirculation to use portId instead of portNo
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Nithin Raju <[email protected]>
Signed-off-by: Ben Pfaff <[email protected]>
  • Loading branch information
Sairam Venugopal authored and blp committed Apr 1, 2016
1 parent 7209202 commit e97d67f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datapath-windows/ovsext/Actions.c
Original file line number Diff line number Diff line change
Expand Up @@ -2015,7 +2015,7 @@ OvsDoRecirc(POVS_SWITCH_CONTEXT switchContext,
}
status = OvsCreateAndAddPackets(NULL, 0, OVS_PACKET_CMD_MISS,
vport, key, ovsFwdCtx.curNbl,
srcPortNo ==
vport->portId ==
switchContext->virtualExternalPortId,
&ovsFwdCtx.layers,
ovsFwdCtx.switchContext,
Expand Down

0 comments on commit e97d67f

Please sign in to comment.