]> git.baikalelectronics.ru Git - kernel.git/commit
openvswitch: Free tmpl with tmpl_free.
authorJoe Stringer <joe@ovn.org>
Fri, 2 Sep 2016 01:01:47 +0000 (18:01 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 Sep 2016 18:38:10 +0000 (11:38 -0700)
commit020c2b20f4aba019022570ff7840ef24895ede6e
tree18aee1b91e38fd7420b2153e4928bf5d5632180e
parentc1504ea426115ab2d55565540a45ae22f65aaf1c
openvswitch: Free tmpl with tmpl_free.

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>
net/openvswitch/conntrack.c