]> 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)
commit2c70a5f4b0a612923752e7878077db4b32c784fb
tree4b75939645a531a7ea8cec2d994e3bfd3dd67bd2
parent9405baf2e7c28f496387c465a1a5dac7a5befcc2
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: 5b0ceb7358a3 ("netfilter: nf_tables: add hardware offload support")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c