From: Mike Dillinger Subject: Re: nftables: Strange Error When Adding Element to Named Set Date: Sun, 31 May 2020 10:18:29 -0700 Message-ID: <10558cf4-649d-2075-857e-cf9abf580de8@softtalker.com> References: <20200508160132.GA2278@salvia> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20200508160132.GA2278@salvia> Content-Language: en-US Sender: netfilter-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="iso-8859-1"; format="flowed" To: Pablo Neira Ayuso Cc: netfilter@vger.kernel.org > *From:* Pablo Neira Ayuso [mailto:pablo@netfilter.org] > *To:* Mike Dillinger > *Cc:* netfilter@vger.kernel.org > *Date:* Friday, May 8, 2020, 9:01 AM PDT > *Subject:* nftables: Strange Error When Adding Element to Named Set > > Please, make sure your Linux kernel version is >=3D 5.6.7 or manually > cherry-pick this fix which was included starting that version. > Versions from 5.6.0 to 5.6.6 include this problem you describe. > > See https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.6.7 > > Author: Stefano Brivio > Date: Wed Apr 1 17:14:38 2020 +0200 > > netfilter: nft_set_rbtree: Drop spurious condition for overlap detec= tion on insertion > =20 > commit 72239f2795fab9a58633bd0399698ff7581534a3 upstream. If I am reading the output of uname correctly, I am using 5.6.14 which shou= ld qualify: $ uname -a Linux rockenfield 5.6.0-2-amd64 #1 SMP Debian 5.6.14-1 (2020-05-23) x86_64 = GNU/Linux ...yet, the problem still persists: $ nft add element ip filter blacklist4-ip-12h { a.b.c.d } Error: Could not process rule: File exists add element ip filter blacklist4-ip-12h { a.b.c.d } ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ To confirm, everything works fine with 5.5.x kernels.=A0 Please advise next= steps with respect to 5.6.7+ kernels. Thanks, -MikeD