commit | 7aa02b48875f274563346d5a6097aa784360d73b | [log] [tgz] |
---|---|---|
author | Pablo Neira Ayuso <pablo@netfilter.org> | Fri Dec 06 22:25:55 2019 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Jan 12 12:21:18 2020 +0100 |
tree | bbfe31878e5640ecc9b6e5585863a91530c2b763 | |
parent | 2c5fc884f888cc0d7f7285bca443d3d6d0efdcaa [diff] |
netfilter: nf_tables: skip module reference count bump on object updates [ Upstream commit fd57d0cbe187e93f63777d36e9f49293311d417f ] Use __nft_obj_type_get() instead, otherwise there is a module reference counter leak. Fixes: d62d0ba97b58 ("netfilter: nf_tables: Introduce stateful object update operation") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Sasha Levin <sashal@kernel.org>