Commit 58b5613
netfilter: nf_tables: remove catchall element in GC sync path
[ Upstream commit 93995bf ]
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>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Puranjay Mohan <pjy@amazon.com>1 parent 6b7ef3e commit 58b5613
1 file changed
+21
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6049 | 6049 | | |
6050 | 6050 | | |
6051 | 6051 | | |
| 6052 | + | |
| 6053 | + | |
| 6054 | + | |
| 6055 | + | |
| 6056 | + | |
| 6057 | + | |
6052 | 6058 | | |
6053 | 6059 | | |
6054 | 6060 | | |
| |||
6057 | 6063 | | |
6058 | 6064 | | |
6059 | 6065 | | |
6060 | | - | |
6061 | | - | |
| 6066 | + | |
6062 | 6067 | | |
6063 | 6068 | | |
6064 | 6069 | | |
| |||
9046 | 9051 | | |
9047 | 9052 | | |
9048 | 9053 | | |
9049 | | - | |
| 9054 | + | |
9050 | 9055 | | |
| 9056 | + | |
9051 | 9057 | | |
9052 | 9058 | | |
9053 | | - | |
| 9059 | + | |
9054 | 9060 | | |
9055 | 9061 | | |
9056 | 9062 | | |
| |||
9068 | 9074 | | |
9069 | 9075 | | |
9070 | 9076 | | |
9071 | | - | |
| 9077 | + | |
| 9078 | + | |
| 9079 | + | |
| 9080 | + | |
| 9081 | + | |
| 9082 | + | |
| 9083 | + | |
| 9084 | + | |
| 9085 | + | |
| 9086 | + | |
| 9087 | + | |
9072 | 9088 | | |
9073 | 9089 | | |
9074 | 9090 | | |
| |||
0 commit comments