[ovs-git] [openvswitch/ovs] 6cf5c5: flow: Refactor ct_orig_tuple check in miniflow_ext...

GitHub noreply at github.com
Wed Jun 7 16:41:01 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 6cf5c521474e2b85c5f7d2a76af8d37c6a2d0d8f
      https://github.com/openvswitch/ovs/commit/6cf5c521474e2b85c5f7d2a76af8d37c6a2d0d8f
  Author: Darrell Ball <dlu998 at gmail.com>
  Date:   2017-06-07 (Wed, 07 Jun 2017)

  Changed paths:
    M lib/flow.c

  Log Message:
  -----------
  flow: Refactor ct_orig_tuple check in miniflow_extract().

The checks to populate ct_orig_tuple in miniflow_extract
include recirc_id being non-zero.  Now, ct_orig_tuple
is only populated if the packet has passed through the
connection tracker, which is a prerequisite for having
valid ct_orig_tuple information.  This is recognized by
having a non-zero ct_state.  This has an added benefit
of saving some processing time.

Signed-off-by: Darrell Ball <dlu998 at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list