parser: fix scope closing with > 1 nested scope
Status from this message: Pushed to nftables.git
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | tests/py: Add a test for failing ipsec after countertests/ tests/ tests/ | +29 | 0 replies | |
| 2/3 | parser: add missing synproxy scope closuresrc/ | +1 | 0 replies | |
| 3/3 | scanner: don't pop active flex scanner scopeinclude/ src/ | +14 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH nft 0/3] parser: fix scope closing with > 1 nested scope
This resolves the parsing problem reported by Phil. First patch is his test case, second patch is an (unrelated) fix for SYNPROXY scoping (lack of close).
Last patch fixes closing with nested scopes, where we exited a scope too early.
Florian Westphal (2):
parser: add missing synproxy scope closure
scanner: don't pop active flex scanner scope
Phil Sutter (1):
tests/py: Add a test for failing ipsec after counter
include/parser.h | 3 +++ src/parser_bison.y | 2 +- src/scanner.l | 11 +++++++++++ tests/py/inet/ipsec.t | 2 ++ tests/py/inet/ipsec.t.json | 21 +++++++++++++++++++++ tests/py/inet/ipsec.t.payload | 6 ++++++ 6 files changed, 44 insertions(+), 1 deletion(-)
Signature · 1 line
2.35.1