[ovs-git] [openvswitch/ovs] adafc8: conntrack: Reset nat_info in un_nat conns.

GitHub noreply at github.com
Tue Jun 13 19:42:50 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: adafc876939525ef1ce1474096d51f5401e5a86f
      https://github.com/openvswitch/ovs/commit/adafc876939525ef1ce1474096d51f5401e5a86f
  Author: Darrell Ball <dlu998 at gmail.com>
  Date:   2017-06-13 (Tue, 13 Jun 2017)

  Changed paths:
    M lib/conntrack.c

  Log Message:
  -----------
  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 mailing list