]> git.proxmox.com Git - mirror_ovs.git/commit
ct-dpif,dpif-netlink: Support conntrack flush by ct 5-tuple
authorYi-Hung Wei <yihung.wei@gmail.com>
Thu, 7 Dec 2017 18:40:03 +0000 (10:40 -0800)
committerJustin Pettit <jpettit@ovn.org>
Thu, 7 Dec 2017 21:49:40 +0000 (13:49 -0800)
commit817a76577fec3f03310d7d3a5a10df01340ee8ad
tree9185282e4940a3873d60a594d13babd03b33e6ee
parent0bd28b0bcd26ab33c296a26f447e49ea829fa274
ct-dpif,dpif-netlink: Support conntrack flush by ct 5-tuple

This patch adds support of flushing a conntrack entry specified by the
conntrack 5-tuple, and provides the implementation in dpif-netlink.
The implementation of dpif-netlink in the linux datapath utilizes the
NFNL_SUBSYS_CTNETLINK netlink subsystem to delete a conntrack entry in
nf_conntrack.  Future patches will add support for the userspace and
Windows datapaths.

VMWare-BZ: #1983178
Signed-off-by: Yi-Hung Wei <yihung.wei@gmail.com>
Signed-off-by: Justin Pettit <jpettit@ovn.org>
lib/ct-dpif.c
lib/ct-dpif.h
lib/dpctl.c
lib/dpif-netdev.c
lib/dpif-netlink.c
lib/dpif-provider.h
lib/netlink-conntrack.c
lib/netlink-conntrack.h
ofproto/ofproto-dpif.c
tests/ovs-ofctl.at