Linux Netfilter discussions
 help / color / mirror / Atom feed
* Assertion error when using map
@ 2019-12-30 23:23 Changli Gao
  2020-01-02 23:25 ` Florian Westphal
  0 siblings, 1 reply; 4+ messages in thread
From: Changli Gao @ 2019-12-30 23:23 UTC (permalink / raw)
  To: netfilter

I want to use map to simplify the configuration of DSCP fields with
the following command:

> ... ip dscp set meta cgroup map { 3000 : 0x2c, 4000 : 0x20 }

But it fails with the following message:

> BUG: invalid mapping expression set reference
> nft: evaluate.c:1426: expr_evaluate_map: Assertion `0' failed.
> Aborted (core dumped)

It seems that the parser recognize the command as a valid one, but the
later evaluation process doesn't think so.

-- 
Regards,
Changli Gao(xiaosuo@gmail.com)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-01-04 11:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-30 23:23 Assertion error when using map Changli Gao
2020-01-02 23:25 ` Florian Westphal
2020-01-03  3:05   ` Changli Gao
2020-01-04 11:15     ` Florian Westphal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox