Commit 93995bf
committed
netfilter: nf_tables: remove catchall element in GC sync path
The expired catchall element is not deactivated and removed from GC sync
path. This path holds mutex so just call nft_setelem_data_deactivate()
and nft_setelem_catchall_remove() before queueing the GC work.
Fixes: 4a9e12e ("netfilter: nft_set_pipapo: call nft_trans_gc_queue_sync() in catchall GC")
Reported-by: lonial con <kongln9170@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>1 parent 94090b2 commit 93995bf
1 file changed
Lines changed: 17 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6520 | 6520 | | |
6521 | 6521 | | |
6522 | 6522 | | |
| 6523 | + | |
| 6524 | + | |
| 6525 | + | |
| 6526 | + | |
| 6527 | + | |
| 6528 | + | |
6523 | 6529 | | |
6524 | 6530 | | |
6525 | 6531 | | |
| |||
6528 | 6534 | | |
6529 | 6535 | | |
6530 | 6536 | | |
6531 | | - | |
6532 | | - | |
| 6537 | + | |
6533 | 6538 | | |
6534 | 6539 | | |
6535 | 6540 | | |
| |||
9678 | 9683 | | |
9679 | 9684 | | |
9680 | 9685 | | |
9681 | | - | |
| 9686 | + | |
9682 | 9687 | | |
| 9688 | + | |
9683 | 9689 | | |
9684 | 9690 | | |
9685 | | - | |
| 9691 | + | |
9686 | 9692 | | |
9687 | 9693 | | |
9688 | 9694 | | |
| |||
9700 | 9706 | | |
9701 | 9707 | | |
9702 | 9708 | | |
9703 | | - | |
| 9709 | + | |
| 9710 | + | |
| 9711 | + | |
| 9712 | + | |
| 9713 | + | |
| 9714 | + | |
| 9715 | + | |
9704 | 9716 | | |
9705 | 9717 | | |
9706 | 9718 | | |
| |||
0 commit comments