]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables: memleak flow rule from commit path
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 6 Jun 2022 15:15:57 +0000 (17:15 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 6 Jun 2022 15:31:46 +0000 (17:31 +0200)
commit71d7aed70baad9cbcd55407dedb4caa918f1dae2
tree4b75939645a531a7ea8cec2d994e3bfd3dd67bd2
parent623e5116bceaedf4676391855c5a4db4b8d43458
netfilter: nf_tables: memleak flow rule from commit path

Abort path release flow rule object, however, commit path does not.
Update code to destroy these objects before releasing the transaction.

Fixes: 7bd4d78a0b74 ("netfilter: nf_tables: add hardware offload support")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c