Already fixed by 17297d1acbbf ("cache: Filter chain list on kernel side"). Closes: https://bugzilla.netfilter.org/show_bug.cgi?id=1577 Signed-off-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> --- tests/shell/testcases/cache/0010_implicit_chain_0 | 5 +++++ .../shell/testcases/cache/dumps/0010_implicit_chain_0.nft | 7 +++++++ 2 files changed, 12 insertions(+) create mode 100755 tests/shell/testcases/cache/0010_implicit_chain_0 create mode 100644 tests/shell/testcases/cache/dumps/0010_implicit_chain_0.nft diff --git a/tests/shell/testcases/cache/0010_implicit_chain_0 b/tests/shell/testcases/cache/0010_implicit_chain_0 new file mode 100755 index 000000000000..43bdb6477542 --- /dev/null +++ b/tests/shell/testcases/cache/0010_implicit_chain_0 @@ -0,0 +1,5 @@ +#!/bin/bash + +set -e + +$NFT 'table ip f { chain c { jump { accept; }; }; }' diff --git a/tests/shell/testcases/cache/dumps/0010_implicit_chain_0.nft b/tests/shell/testcases/cache/dumps/0010_implicit_chain_0.nft new file mode 100644 index 000000000000..aba92c0e5065 --- /dev/null +++ b/tests/shell/testcases/cache/dumps/0010_implicit_chain_0.nft @@ -0,0 +1,7 @@ +table ip f { + chain c { + jump { + accept + } + } +} -- 2.30.2