]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "openvswitch: Fix template leak in error cases."
authorFlavio Leitner <fbl@redhat.com>
Fri, 28 Sep 2018 17:55:34 +0000 (14:55 -0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Oct 2018 06:20:13 +0000 (23:20 -0700)
commit0ba2d15c03e2431ce84a4239774e0d60c376270e
treefcac3e43c9e2cb403ab9b9c1ec722430ae764178
parente515c565bb24729e4e2efb5601e975491636b2f8
Revert "openvswitch: Fix template leak in error cases."

This reverts commit 0734afe8d2fdcf4e9dd1deb066f4cc69e8ef55c8.

When the commit was merged, the code used nf_ct_put() to free
the entry, but later on commit 020c2b20f4ab ("openvswitch: Free
tmpl with tmpl_free.") replaced that with nf_ct_tmpl_free which
is a more appropriate. Now the original problem is removed.

Then 162d273ba8c5 ("net: Replace NF_CT_ASSERT() with WARN_ON().")
replaced a debug assert with a WARN_ON() which is trigged now.

Signed-off-by: Flavio Leitner <fbl@redhat.com>
Acked-by: Joe Stringer <joe@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/conntrack.c