summaryrefslogtreecommitdiffstats
path: root/tests/regression/inet/ether.t.payload.ip6
diff options
context:
space:
mode:
authorSon Dinh <dinhtrason@gmail.com>2024-04-09 16:23:31 +1000
committerFlorian Westphal <fw@strlen.de>2024-06-16 13:52:50 +0200
commitaa791a12cb2b23fb49c233e40b6e12e0e3ce6b9b (patch)
tree2e54cf9864446833ec7f6b5187838349d066dd0a /tests/regression/inet/ether.t.payload.ip6
parentb40bebbcee3602e2d849e48f3a50676bd8987204 (diff)
dynset: avoid errouneous assert with ipv6 concat dataHEADmaster
nft add rule ip6 table-test chain-1 update @map-X { ip6 saddr : 1000::1 . 5001 } nft: src/netlink_linearize.c:873: netlink_gen_expr: Assertion `dreg < ctx->reg_low' failed. Aborted (core dumped) This is because we pass the EXPR_SET_ELEM expr to the register allocation, which will make it reserve 1 128 bit register / 16 bytes. This happens to be enough for most cases, but its not for ipv6 concat data. Pass the actual key and data instead: This will reserve enough space to hold a possible concat expression. Also add test cases. Signed-off-by: Son Dinh <dinhtrason@gmail.com> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/regression/inet/ether.t.payload.ip6')
0 files changed, 0 insertions, 0 deletions