evaluate: add more checks for '... set 1-3'
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 of 2 patches 0 repliesNew
1 of 2 patches is in this archive. The cover letter announces 2.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | evaluate: tproxy: move range error checks after arg evaluationsrc/ tests/ | +14 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH nft 0/2] evaluate: add more checks for '... set 1-3'
Only a few statements can accept expressions with ranges, all others will trigger an assertion in the netlink linearization path.
Add missing checks and fix the existing tproxy ones.
Florian Westphal (2):
evaluate: tproxy: move range error checks after arg evaluation
evaluate: add missing range checks for dup,fwd and payload statements
src/evaluate.c | 100 ++++++++++-------- .../testcases/bogons/nft-f/dup_fwd_ranges | 14 +++ .../testcases/bogons/nft-f/tproxy_ranges | 8 ++ .../nft-f/unknown_expr_type_range_assert | 8 +- 4 files changed, 83 insertions(+), 47 deletions(-) create mode 100644 tests/shell/testcases/bogons/nft-f/dup_fwd_ranges create mode 100644 tests/shell/testcases/bogons/nft-f/tproxy_ranges
Signature · 1 line
2.41.0