openvswitch: add ct_clear action
authorEric Garver <e@erig.me>
Tue, 10 Oct 2017 20:54:44 +0000 (16:54 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Oct 2017 23:38:34 +0000 (16:38 -0700)
commitb8226962b1c49c784aeddb9d2fafbf53dfdc2190
tree838a6a361a81ff5f613371bcdfcd2113270b0fab
parent833e0e2f24fd0525090878f71e129a8a4cb8bf78
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@erig.me>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/openvswitch.h
net/openvswitch/actions.c
net/openvswitch/conntrack.c
net/openvswitch/conntrack.h
net/openvswitch/flow_netlink.c