Revert "netfilter: nf_tables: Keep deleted flowtable hooks until after RCU"
This reverts commit 9dff7ecbaa
.
This commit is contained in:
parent
dfba2abdca
commit
34b5adf14b
1 changed files with 1 additions and 1 deletions
|
@ -7625,7 +7625,7 @@ static void nf_tables_flowtable_destroy(struct nft_flowtable *flowtable)
|
|||
flowtable->data.type->setup(&flowtable->data, hook->ops.dev,
|
||||
FLOW_BLOCK_UNBIND);
|
||||
list_del_rcu(&hook->list);
|
||||
kfree_rcu(hook, rcu);
|
||||
kfree(hook);
|
||||
}
|
||||
kfree(flowtable->name);
|
||||
module_put(flowtable->data.type->owner);
|
||||
|
|
Loading…
Add table
Reference in a new issue