netfilter: nf_tables: release new hooks on unsupported flowtable flags
authorPablo Neira Ayuso <pablo@netfilter.org>
Sun, 5 Jun 2022 11:40:06 +0000 (13:40 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Jun 2022 16:36:17 +0000 (18:36 +0200)
commitfb2962f9a1b4320c7548369609c81a9cd38d5178
tree86089b92fdcbe2497a1795e65793574e10db21cc
parent888312dc297a8a103f6371ef668c7e04f57a7679
netfilter: nf_tables: release new hooks on unsupported flowtable flags

[ Upstream commit c271cc9febaaa1bcbc0842d1ee30466aa6148ea8 ]

Release the list of new hooks that are pending to be registered in case
that unsupported flowtable flags are provided.

Fixes: 78d9f48f7f44 ("netfilter: nf_tables: add devices to existing flowtable")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/netfilter/nf_tables_api.c