[ovs-git] [openvswitch/ovs] adafc8: conntrack: Reset nat_info in un_nat conns.
noreply at github.com
Tue Jun 13 19:42:50 UTC 2017
Author: Darrell Ball <dlu998 at gmail.com>
Date: 2017-06-13 (Tue, 13 Jun 2017)
conntrack: Reset nat_info in un_nat conns.
Un-nat conns have no nat_info as do default conns.
However, un-nat conns are originally templated from the
corresponding default conns and therefore need to
have their nat_info explicitly nulled. This
otherwise exposes a double free if conntrack_destroy()
were to be used to destroy the connection tracker. This
would apply to cleaning the datapath after testing.
Fixes: 286de2729955 ("dpdk: Userspace Datapath: Introduce NAT Support.")
Signed-off-by: Darrell Ball <dlu998 at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Greg Rose <gvrose8192 at gmail.com>
More information about the git