]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcfc558309334b4d56c7138b3e7a8c13d05a6e16d
tree838a6a361a81ff5f613371bcdfcd2113270b0fab
parent557f91d306a1df3692c388de98d08d73abb4563c
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