diff options
author | Florian Westphal <fw@strlen.de> | 2025-03-19 21:05:53 +0100 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2025-03-22 23:47:26 +0100 |
commit | bd1fc6c740535d1ad3f38f8ba9c539c14f1732f3 (patch) | |
tree | f9e8cb9527e57ec6f090937103a410c7ea84f33b /tests/shell | |
parent | 0298bc012e020b2fca8ecc60b0091798d091e1fd (diff) |
evaluate: don't update cache for anonymous chains
Chain lookup needs a name, not a numerical id.
After patch, loading bogon gives following errors:
Error: No symbol type information a b index 1 10.1.26.a
v2: Don't return an error, just make it a no-op (Pablo Neira Ayuso)
Fixes: c330152b7f77 ("src: support for implicit chain bindings")
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/shell')
-rw-r--r-- | tests/shell/testcases/bogons/nft-f/null_deref_on_anon_chain_update_crash | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/shell/testcases/bogons/nft-f/null_deref_on_anon_chain_update_crash b/tests/shell/testcases/bogons/nft-f/null_deref_on_anon_chain_update_crash new file mode 100644 index 00000000..310486c5 --- /dev/null +++ b/tests/shell/testcases/bogons/nft-f/null_deref_on_anon_chain_update_crash @@ -0,0 +1,8 @@ +table ip f { + chain c { + jump { + accept + } + } +} +a b index 1 10.1.26.a |