From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Westphal Subject: Re: [nft] segfault bug in simple ruleset, regression? Date: Wed, 9 Sep 2015 17:29:24 +0200 Message-ID: <20150909152924.GB24810@breakpoint.cc> References: <20150909142903.GA3447@salvia> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Arturo Borrero Gonzalez , Netfilter Development Mailing list , Patrick McHardy , fw@strlen.de To: Pablo Neira Ayuso Return-path: Received: from Chamillionaire.breakpoint.cc ([80.244.247.6]:52757 "EHLO Chamillionaire.breakpoint.cc" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752988AbbIIP31 (ORCPT ); Wed, 9 Sep 2015 11:29:27 -0400 Content-Disposition: inline In-Reply-To: <20150909142903.GA3447@salvia> Sender: netfilter-devel-owner@vger.kernel.org List-ID: Pablo Neira Ayuso wrote: > > flush ruleset > > table inet filter { > > chain test0 { > > } > > > > chain test1 { > > } > > > > chain test2 { > > } > > > > chain test { > > oif vmap { > > eth0 : jump test0, > > eth1 : jump test1, > > eth2 : jump test2 > > } > > } > > } > > ========== 8< ========== > > > > loaded with: > > % nft -f file > > I cannot reproduce this here using this: I can reproduce it, but with slight tweak. flush ruleset table inet filter { chain test0 { } chain test { oif vmap { eth0 : jump test0, } } } (load it with nft -f ) Then edit file to add 2nd chain: flush ruleset table inet filter { chain test0 { } chain test1 { } chain test { oif vmap { eth0 : jump test0, lo: jump test1, } } } load it. poof..