netfilter: nf_tables: rename function to destroy hook list

[ Upstream commit cdc3254663 ]

Rename nft_flowtable_hooks_destroy() by nft_hooks_destroy() to prepare
for netdev chain device updates.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Stable-dep-of: d472e9853d ("netfilter: nf_tables: register hooks last when adding new chain/flowtable")
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Pablo Neira Ayuso 2023-04-21 00:34:30 +02:00 • committed by Greg Kroah-Hartman
commit 26994a04b0