From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C4B18C19F2D for ; Thu, 11 Aug 2022 06:05:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233681AbiHKGF3 (ORCPT ); Thu, 11 Aug 2022 02:05:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233627AbiHKGF3 (ORCPT ); Thu, 11 Aug 2022 02:05:29 -0400 Received: from Chamillionaire.breakpoint.cc (Chamillionaire.breakpoint.cc [IPv6:2a0a:51c0:0:12e:520::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 463546D9E4 for ; Wed, 10 Aug 2022 23:05:27 -0700 (PDT) Received: from fw by Chamillionaire.breakpoint.cc with local (Exim 4.92) (envelope-from ) id 1oM1Jt-0004j3-GM; Thu, 11 Aug 2022 08:05:25 +0200 Date: Thu, 11 Aug 2022 08:05:25 +0200 From: Florian Westphal To: Michael Braun Cc: netfilter-devel@vger.kernel.org Subject: Re: [RFC] concat with dynamically sized fields like vlan id Message-ID: References: <20200501205915.24682-1-michael-dev@fami-braun.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200501205915.24682-1-michael-dev@fami-braun.de> Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org Michael Braun wrote: > This enables commands like > > nft set bridge t s4 '{typeof vlan id . ip daddr; elements = { 3567 . > 1.2.3.4 }; }' > > Which would previously fail with > Error: can not use variable sized data types (integer) in concat > expressions I've cleaned up the testcase added in this patch and applied it to git.