]> git.proxmox.com Git - ovs.git/commit
ofproto-dpif: Mark packets as "untracked" after call to ct().
authorJustin Pettit <jpettit@ovn.org>
Mon, 7 Aug 2017 21:44:02 +0000 (14:44 -0700)
committerJustin Pettit <jpettit@ovn.org>
Mon, 21 Aug 2017 19:50:24 +0000 (12:50 -0700)
commit8473cf69d25c4682cc6f6857b86b490a8c27cbd4
treeaa0266f18085b3cd014ec11a32a1a32a3141f83e
parentf37dc273243cdc32e74e20a0b97f15c0acebc11e
ofproto-dpif: Mark packets as "untracked" after call to ct().

Packet and Connection state is only available to the processing path
that follows the "recirc_table" argument of the ct() action.  The
previous behavior made these states available until the end of the
pipeline.  This commit changes the behavior so that the Packet and
Connection state are cleared for the current processing path whenever
ct() is called (in addition to reaching the end of the pipeline.)

A future commit will remove the behavior that a "send to controller"
action causes all packets for that flow to be handled via the slow-path.
The current behavior of connection tracking state makes that difficult
due to datapath actions containing multiple OpenFlow rules that may
contain different connection tracking states.  This change will make
that future commit possible.

Signed-off-by: Justin Pettit <jpettit@ovn.org>
Acked-by: Joe Stringer <joe@ovn.org>
NEWS
lib/ofp-actions.c
ofproto/ofproto-dpif-xlate.c
tests/ofproto-dpif.at
tests/system-traffic.at
utilities/ovs-ofctl.8.in