ofproto-dpif-xlate: Fix recirculation for resubmit to current table.
When recirculation defers actions for processing later, it decides based on the actions being saved whether it needs to record the table and cookie from which they originated. Until now, it was thought that this was only important for actions that send packets to the controller (because those actions send the table ID and cookie). This overlooked a special case of the "resubmit" action which also depends on the current table ID, which meant that this special case malfunctioned if it came after recirculation. This commit fixes the problem. This is a backport of a fix orginally committed on master. That fix was able to add a test, but branch-2.4 lacks the "debug_recirc" feature needed for the test. Found while testing another feature under development. Signed-off-by: Ben Pfaff <email@example.com> Acked-by: Jarno Rajahalme <firstname.lastname@example.org>
Showing with 15 additions and 8 deletions