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 -- 2.40.0