Commit 51f6ae5
committed
netfilter: nf_tables: reject unbound chain set before commit phase
JIRA: https://issues.redhat.com/browse/RHEL-1720
JIRA: https://issues.redhat.com/browse/RHEL-1721
Upstream Status: commit 62e1e94
commit 62e1e94
Author: Pablo Neira Ayuso <[email protected]>
Date: Fri Jun 16 15:21:39 2023 +0200
netfilter: nf_tables: reject unbound chain set before commit phase
Use binding list to track set transaction and to check for unbound
chains before entering the commit phase.
Bail out if chain binding remain unused before entering the commit
step.
Fixes: d0e2c7d ("netfilter: nf_tables: add NFT_CHAIN_BINDING")
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Signed-off-by: Florian Westphal <[email protected]>1 parent 5a63039 commit 51f6ae5
1 file changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
375 | 380 | | |
376 | 381 | | |
377 | 382 | | |
| |||
9206 | 9211 | | |
9207 | 9212 | | |
9208 | 9213 | | |
| 9214 | + | |
| 9215 | + | |
| 9216 | + | |
| 9217 | + | |
| 9218 | + | |
| 9219 | + | |
| 9220 | + | |
| 9221 | + | |
9209 | 9222 | | |
9210 | 9223 | | |
9211 | 9224 | | |
| |||
0 commit comments