When an error occurs during conntrack template creation as part of
actions validation, we need to free the template. Previously we've been
using nf_ct_put() to do this, but nf_ct_tmpl_free() is more appropriate.
Signed-off-by: Joe Stringer <joe@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
        if (ct_info->helper)
                module_put(ct_info->helper->me);
        if (ct_info->ct)
-               nf_ct_put(ct_info->ct);
+               nf_ct_tmpl_free(ct_info->ct);
 }
 
 void ovs_ct_init(struct net *net)