Skip to content

Fix for exclusive start cond corner cases

Phil Sutter netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3parser_bison: Fix for comment following exclusive start condsrc/scanner.l tests/shell/testcases/parsing/dumps/exclusive_start_cond.json-nft tests/shell/testcases/parsing/dumps/exclusive_start_cond.nft +1 more+23 -10 replies
2/3scanner: Fix delayed start condition pop logicsrc/scanner.l tests/shell/testcases/parsing/dumps/exclusive_start_cond.json-nft tests/shell/testcases/parsing/dumps/exclusive_start_cond.nft +1 more+42 -71 reply
3/3scanner: Add start condition debuggingsrc/scanner.l+8 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [nft PATCH 0/3] Fix for exclusive start cond corner cases

Patch 2 fixes the issue xelra reported in [1], patch 1 fixes a related issue and patch 3 extends scanner debugging output a bit which helped when analyzing the bug.

[1] https://lore.kernel.org/netfilter-devel/VPAY0CnKhCaOKYE6oo_AU7sR5MaGIGzyPkXi00RlaucbyN78KYBqK73XfyJ-yyXQENIvvXeFJq_fNrYbJuW8LcqZvZyf4J3kr66jvsojxCU=@protonmail.com/

Phil Sutter (3):
parser_bison: Fix for comment following exclusive start cond
scanner: Fix delayed start condition pop logic
scanner: Add start condition debugging

 src/scanner.l                                 | 21 +++++---
 .../dumps/exclusive_start_cond.json-nft       | 52 +++++++++++++++++++
 .../parsing/dumps/exclusive_start_cond.nft    |  2 +
 .../testcases/parsing/exclusive_start_cond    |  6 +++
 4 files changed, 73 insertions(+), 8 deletions(-)
Signature · 1 line
2.54.0