Hi, On Thu, 2 Apr 2020 23:49:41 +0200 Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> wrote: > This patch adds a lazy check to validate that the first element is not a > concatenation. The segtree code does not support for concatenations, > bail out with EOPNOTSUPP. > > # nft add element x y { 10.0.0.0/8 . 192.168.1.3-192.168.1.9 . 1024-65535 } > Error: Could not process rule: Operation not supported > add element x y { 10.0.0.0/8 . 192.168.1.3-192.168.1.9 . 1024-65535 } > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > Otherwise, the segtree code barfs with: > > BUG: invalid range expression type concat > > Reported-by: Florian Westphal <fw@xxxxxxxxx> > Signed-off-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> I know you both reported this to me, sorry, I still have to polish up the actual fix before posting it. I'm not very familiar with this code yet, and it's taking ages. It might be a few more days before I get to it, so I guess this patch might make sense for the moment being. -- Stefano