All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Florian Westphal <fw@strlen.de>
Cc: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>,
	Netfilter Development Mailing list
	<netfilter-devel@vger.kernel.org>,
	Patrick McHardy <kaber@trash.net>
Subject: Re: [nft] segfault bug in simple ruleset, regression?
Date: Wed, 9 Sep 2015 18:01:41 +0200	[thread overview]
Message-ID: <20150909160141.GA6002@salvia> (raw)
In-Reply-To: <20150909152924.GB24810@breakpoint.cc>

On Wed, Sep 09, 2015 at 05:29:24PM +0200, Florian Westphal wrote:
> 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..

Thanks, I can now reproduce this. This is related to the cache
consolidation, will look at this asap.

      reply	other threads:[~2015-09-09 15:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-09 11:28 [nft] segfault bug in simple ruleset, regression? Arturo Borrero Gonzalez
2015-09-09 14:29 ` Pablo Neira Ayuso
2015-09-09 15:29   ` Florian Westphal
2015-09-09 16:01     ` Pablo Neira Ayuso [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150909160141.GA6002@salvia \
    --to=pablo@netfilter.org \
    --cc=arturo.borrero.glez@gmail.com \
    --cc=fw@strlen.de \
    --cc=kaber@trash.net \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.