Skip to content

Chain counter fixes here and there

Phil Sutter netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 1 replyIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3nft: Create builtin chains with counters enablediptables/nft.c+8 -60 replies
2/3Revert "libiptc: fix wrong maptype of base chain counters on restore"libiptc/libiptc.c+1 -10 replies
3/3tests: shell: Test chain policy counter behaviouriptables/tests/shell/testcases/chain/0007counters_0+78 -00 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [iptables PATCH v2 0/3] Chain counter fixes here and there

Resending patch 2 after the test I created for it in patch 3 exposed the iptables-nft bug fixed in patch 1.

Phil Sutter (3):
nft: Create builtin chains with counters enabled
Revert "libiptc: fix wrong maptype of base chain counters on restore"
tests: shell: Test chain policy counter behaviour

 iptables/nft.c                                | 14 ++--
 .../shell/testcases/chain/0007counters_0      | 78 +++++++++++++++++++
 libiptc/libiptc.c                             |  2 +-
 3 files changed, 87 insertions(+), 7 deletions(-)
 create mode 100755 iptables/tests/shell/testcases/chain/0007counters_0
Signature · 1 line
2.40.0