diff options
| author | Pablo Neira Ayuso <[email protected]> | 2022-05-30 16:40:06 +0000 |
|---|---|---|
| committer | Pablo Neira Ayuso <[email protected]> | 2022-06-02 07:49:49 +0000 |
| commit | b6d9014a3335194590abdd2a2471ef5147a67645 (patch) | |
| tree | 81fdc2ff0e670755b9cf091f4f00ecdaecb80ed4 /net/switchdev/switchdev.c | |
| parent | netfilter: nf_tables: use kfree_rcu(ptr, rcu) to release hooks in clean_net path (diff) | |
| download | kernel-b6d9014a3335194590abdd2a2471ef5147a67645.tar.gz kernel-b6d9014a3335194590abdd2a2471ef5147a67645.zip | |
netfilter: nf_tables: delete flowtable hooks via transaction list
Remove inactive bool field in nft_hook object that was introduced in
abadb2f865d7 ("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: abadb2f865d7 ("netfilter: nf_tables: delete devices from flowtable")
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
