Skip to content

Fixes for monitor/echo mode with maps

Phil Sutter netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3monitor: Do not decompose non-anonymous setssrc/monitor.c tests/monitor/testcases/set-interval.t+21 -11 reply
2/3monitor: Fix for use after free when printing map elementssrc/monitor.c+2 -11 reply
3/3tests: monitor: Support running individual test casestests/monitor/run-tests.sh+7 -21 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchPablo Neira Ayuso
1/3A-b
2/3A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [nft PATCH 0/3] Fixes for monitor/echo mode with maps

Patch 1 fixes a segfault when trying to add a rule referring to a map and adds a relevant test case. Patch 2 fixes for wrong format of map values, this is already covered by existing tests. Patch 3 merely improves versatility of tests/monitor/run-tests.sh a bit.

Phil Sutter (3):
monitor: Do not decompose non-anonymous sets
monitor: Fix for use after free when printing map elements
tests: monitor: Support running individual test cases

 src/monitor.c                          |  5 +++--
 tests/monitor/run-tests.sh             |  9 +++++++--
 tests/monitor/testcases/set-interval.t | 20 ++++++++++++++++++++
 3 files changed, 30 insertions(+), 4 deletions(-)
 create mode 100644 tests/monitor/testcases/set-interval.t
Signature · 1 line
2.24.1