]> 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)
commitac0d16d48346ef22777423e8c2da7b0132b7f074
tree838a6a361a81ff5f613371bcdfcd2113270b0fab
parent79e1fc84c44452a3dc067f19d13a28e6e9cedb39
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