[ovs-git] [openvswitch/ovs] c08026: acinclude: check for IP_CT_UNTRACKED

GitHub noreply at github.com
Tue Jan 23 03:37:52 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: c08026342782ead8a1be70171046654ece6ed5b9
      https://github.com/openvswitch/ovs/commit/c08026342782ead8a1be70171046654ece6ed5b9
  Author: Eric Garver <e at erig.me>
  Date:   2018-01-22 (Mon, 22 Jan 2018)

  Changed paths:
    M acinclude.m4

  Log Message:
  -----------
  acinclude: check for IP_CT_UNTRACKED

IP_CT_UNTRACKED is fairly new, but used by the kernel datapath ct_clear
action.

Signed-off-by: Eric Garver <e at erig.me>
Acked-by: Pravin B Shelar <pshelar at ovn.org>


  Commit: 0cdfddddb66438a8b60635eb1875f32e7afc6735
      https://github.com/openvswitch/ovs/commit/0cdfddddb66438a8b60635eb1875f32e7afc6735
  Author: Eric Garver <e at erig.me>
  Date:   2018-01-22 (Mon, 22 Jan 2018)

  Changed paths:
    M datapath/actions.c
    M datapath/conntrack.c
    M datapath/conntrack.h
    M datapath/flow_netlink.c

  Log Message:
  -----------
  datapath: add ct_clear action

Upstream commit:
    commit b8226962b1c49c784aeddb9d2fafbf53dfdc2190
    Author: Eric Garver <e at erig.me>
    Date:   Tue Oct 10 16:54:44 2017 -0400

    openvswitch: add ct_clear action

    This adds a ct_clear action for clearing conntrack state. ct_clear is
    currently implemented in OVS userspace, but is not backed by an action
    in the kernel datapath. This is useful for flows that may modify a
    packet tuple after a ct lookup has already occurred.

    Signed-off-by: Eric Garver <e at erig.me>
    Acked-by: Pravin B Shelar <pshelar at ovn.org>
    Signed-off-by: David S. Miller <davem at davemloft.net>

Notes:
   - hunk from include/uapi/linux/openvswitch.h is missing because it
     was added with userspace support in 1fe178d251c8 ("dpif: Add support
     for OVS_ACTION_ATTR_CT_CLEAR")
   - if IP_CT_UNTRACKED is not available use 0 as other nf_ct_set()
     calls do. Since we're setting ct to NULL this is okay.

Signed-off-by: Eric Garver <e at erig.me>
Acked-by: Pravin B Shelar <pshelar at ovn.org>


Compare: https://github.com/openvswitch/ovs/compare/a34eba019c4a...0cdfddddb664


More information about the git mailing list