Commit bee501c
committed
netfilter: nft_set_pipapo: call nft_trans_gc_queue_sync() in catchall GC
JIRA: https://issues.redhat.com/browse/RHEL-1720
JIRA: https://issues.redhat.com/browse/RHEL-1721
Upstream Status: commit 4a9e12e
commit 4a9e12e
Author: Pablo Neira Ayuso <[email protected]>
Date: Wed Sep 6 15:07:53 2023 +0200
netfilter: nft_set_pipapo: call nft_trans_gc_queue_sync() in catchall GC
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]>
Signed-off-by: Florian Westphal <[email protected]>1 parent 29530d2 commit bee501c
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 | |
|---|---|---|---|
| |||
9231 | 9231 | | |
9232 | 9232 | | |
9233 | 9233 | | |
9234 | | - | |
9235 | | - | |
| 9234 | + | |
| 9235 | + | |
| 9236 | + | |
9236 | 9237 | | |
9237 | 9238 | | |
9238 | 9239 | | |
| |||
9248 | 9249 | | |
9249 | 9250 | | |
9250 | 9251 | | |
9251 | | - | |
| 9252 | + | |
| 9253 | + | |
| 9254 | + | |
| 9255 | + | |
| 9256 | + | |
9252 | 9257 | | |
9253 | 9258 | | |
9254 | 9259 | | |
| |||
9258 | 9263 | | |
9259 | 9264 | | |
9260 | 9265 | | |
| 9266 | + | |
| 9267 | + | |
| 9268 | + | |
| 9269 | + | |
| 9270 | + | |
| 9271 | + | |
| 9272 | + | |
| 9273 | + | |
| 9274 | + | |
| 9275 | + | |
| 9276 | + | |
9261 | 9277 | | |
9262 | 9278 | | |
9263 | 9279 | | |
| |||
| 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