improvements for the range printing
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | netlink_delinearize: pass ctx pointer to stmt_reject_postprocess()src/ | +9 | 0 replies | |
| 2/6 | netlink_delinearize: keep pointer to current statement from rule_pp_ctxsrc/ | +37 | 0 replies | |
| 3/6 | netlink_delinearize: add payload_match_expand()src/ | +37 | 0 replies | |
| 4/6 | netlink_delinearize: consolidate range printingsrc/ | +78 | 0 replies | |
| 5/6 | tests: regression: reduce code duplication a bit on error reportingtests/ | +7 | 0 replies | |
| 6/6 | tests: regression: fix warnings related to range listingtests/ tests/ tests/ +21 more | +180 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/6 nft] improvements for the range printing
Hi Patrick,
This patchset adds the routine to consolidate the range printing from the delinearization step, so we get:
tcp dport 1024-65535
instead of:
tcp dport >= 1024 tcp dport 65535
Same thing with meta and ct selectors.
This applies on top of the next-4.1 branch that I'll merge asap to master to start preparing the next 0.5 release.
Let me know if you have any concern, thanks.
Pablo Neira Ayuso (6):
netlink_delinearize: pass ctx pointer to stmt_reject_postprocess()
netlink_delinearize: keep pointer to current statement from rule_pp_ctx
netlink_delinearize: add payload_match_expand()
netlink_delinearize: consolidate range printing
tests: regression: reduce code duplication a bit on error reporting
tests: regression: fix warnings related to range listing
src/netlink_delinearize.c | 218 +++++++++++++++++++++++++------------ tests/regression/any/ct.t | 26 ++--- tests/regression/any/frag.t | 10 +- tests/regression/any/meta.t | 43 ++++---- tests/regression/arp/arp.t | 14 +-- tests/regression/inet/ah.t | 16 +-- tests/regression/inet/comp.t | 8 +- tests/regression/inet/dccp.t | 11 +- tests/regression/inet/esp.t | 8 +- tests/regression/inet/sctp.t | 16 +-- tests/regression/inet/tcp.t | 30 ++--- tests/regression/inet/udp.t | 20 ++-- tests/regression/inet/udplite.t | 18 +-- tests/regression/ip/icmp.t | 20 ++-- tests/regression/ip/ip.t | 38 +++---- tests/regression/ip/masquerade.t | 2 +- tests/regression/ip/nat.t | 14 +-- tests/regression/ip/redirect.t | 2 +- tests/regression/ip6/dst.t | 8 +- tests/regression/ip6/hbh.t | 8 +- tests/regression/ip6/ip6.t | 12 +- tests/regression/ip6/masquerade.t | 2 +- tests/regression/ip6/mh.t | 18 +-- tests/regression/ip6/redirect.t | 2 +- tests/regression/ip6/rt.t | 16 +-- tests/regression/nft-test.py | 19 ++-- 26 files changed, 337 insertions(+), 262 deletions(-)
--
1.7.10.4