diff --git a/net/netfilter/nf_tables_api.c b/net/netfilter/nf_tables_api.c index 3c75b970366ee7ad379ba82724cd1dcd1e009652..62363c77b816666f916aa4dc7a1a61bc90c65555 100644 --- a/net/netfilter/nf_tables_api.c +++ b/net/netfilter/nf_tables_api.c @@ -7197,9 +7197,6 @@ static void __nft_release_tables(struct net *net) list_for_each_entry(chain, &table->chains, list) nf_tables_unregister_hook(net, table, chain); - list_for_each_entry(flowtable, &table->flowtables, list) - nf_unregister_net_hooks(net, flowtable->ops, - flowtable->ops_len); /* No packets are walking on these chains anymore. */ ctx.table = table; list_for_each_entry(chain, &table->chains, list) {