nft: fix ct zone handling in sets and maps
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | tests: extend dtype test case to cover expression with integer typetests/ tests/ | +83 | 0 replies | |
| 1/3 | extend_testtests/ tests/ | +83 | 0 replies | |
| 2/3 | evaluate: pick data element byte order, not dtype onesrc/ | +1 | 0 replies | |
| 3/3 | evaluate: set evaluation context for set elementssrc/ | +9 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH nft 0/3] nft: fix ct zone handling in sets and maps
'ct zone' (and other expressions w. host byte order and integer dtype) are not handled correctly on little endian platforms.
First patch adds a test case that demonstrates the problem, patch 2 and 3 resolve this for the mapping and set key cases.
Florian Westphal (3):
tests: extend dtype test case to cover expression with integer type
evaluate: pick data element byte order, not dtype one
evaluate: set evaluation context for set elements
src/evaluate.c | 13 ++++-- .../testcases/sets/0029named_ifname_dtype_0 | 41 +++++++++++++++++ .../sets/dumps/0029named_ifname_dtype_0.nft | 44 ++++++++++++++++++- 3 files changed, 93 insertions(+), 5 deletions(-)
Signature · 1 line
2.26.2