netfilter: nf_tables: delete flowtable hooks via transaction list
[ Upstream commit
bae64cf41cddcf2805d7c41ef7bdf9245006c9b5 ]
Remove inactive bool field in nft_hook object that was introduced in
6a32264e7707 ("netfilter: nf_tables: delete devices from flowtable").
Move stale flowtable hooks to transaction list instead.
Deleting twice the same device does not result in ENOENT.
Fixes: 6a32264e7707 ("netfilter: nf_tables: delete devices from flowtable")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>