Commit e7ebc39
committed
netfilter: nft_set_pipapo: call nft_trans_gc_queue_sync() in catchall GC
jira VULN-430
cve CVE-2023-4244
commit-author Pablo Neira Ayuso <[email protected]>
commit 4a9e12e
pipapo needs to enqueue GC transactions for catchall elements through
nft_trans_gc_queue_sync(). Add nft_trans_gc_catchall_sync() and
nft_trans_gc_catchall_async() to handle GC transaction queueing
accordingly.
Fixes: 5f68718 ("netfilter: nf_tables: GC transaction API to avoid race with control plane")
Fixes: f6c383b ("netfilter: nf_tables: adapt set backend to use GC transaction API")
Signed-off-by: Pablo Neira Ayuso <[email protected]>
(cherry picked from commit 4a9e12e)
Signed-off-by: Marcin Wcisło <[email protected]>1 parent 89d6ab2 commit e7ebc39
File tree
5 files changed
+25
-8
lines changed- include/net/netfilter
- net/netfilter
5 files changed
+25
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1629 | 1629 | | |
1630 | 1630 | | |
1631 | 1631 | | |
1632 | | - | |
1633 | | - | |
| 1632 | + | |
| 1633 | + | |
| 1634 | + | |
1634 | 1635 | | |
1635 | 1636 | | |
1636 | 1637 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9256 | 9256 | | |
9257 | 9257 | | |
9258 | 9258 | | |
9259 | | - | |
9260 | | - | |
| 9259 | + | |
| 9260 | + | |
| 9261 | + | |
9261 | 9262 | | |
9262 | 9263 | | |
9263 | 9264 | | |
| |||
9273 | 9274 | | |
9274 | 9275 | | |
9275 | 9276 | | |
9276 | | - | |
| 9277 | + | |
| 9278 | + | |
| 9279 | + | |
| 9280 | + | |
| 9281 | + | |
9277 | 9282 | | |
9278 | 9283 | | |
9279 | 9284 | | |
| |||
9283 | 9288 | | |
9284 | 9289 | | |
9285 | 9290 | | |
| 9291 | + | |
| 9292 | + | |
| 9293 | + | |
| 9294 | + | |
| 9295 | + | |
| 9296 | + | |
| 9297 | + | |
| 9298 | + | |
| 9299 | + | |
| 9300 | + | |
| 9301 | + | |
9286 | 9302 | | |
9287 | 9303 | | |
9288 | 9304 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
375 | | - | |
| 375 | + | |
376 | 376 | | |
377 | 377 | | |
378 | 378 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1611 | 1611 | | |
1612 | 1612 | | |
1613 | 1613 | | |
1614 | | - | |
| 1614 | + | |
1615 | 1615 | | |
1616 | 1616 | | |
1617 | 1617 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
670 | 670 | | |
671 | 671 | | |
672 | 672 | | |
673 | | - | |
| 673 | + | |
674 | 674 | | |
675 | 675 | | |
676 | 676 | | |
| |||
0 commit comments