diff options
author | Eric Garver <e@erig.me> | 2018-01-22 14:10:05 -0500 |
---|---|---|
committer | Pravin B Shelar <pshelar@ovn.org> | 2018-01-22 19:24:22 -0800 |
commit | 0cdfddddb66438a8b60635eb1875f32e7afc6735 (patch) | |
tree | f38b1522d6a8ab0cba35e312277e24133440ce7b /lib/bfd.c | |
parent | c08026342782ead8a1be70171046654ece6ed5b9 (diff) | |
download | openvswitch-0cdfddddb66438a8b60635eb1875f32e7afc6735.tar.gz |
datapath: add ct_clear action
Upstream commit:
commit b8226962b1c49c784aeddb9d2fafbf53dfdc2190
Author: Eric Garver <e@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@erig.me>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: David S. Miller <davem@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@erig.me>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
Diffstat (limited to 'lib/bfd.c')
0 files changed, 0 insertions, 0 deletions