From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pablo Neira Ayuso Subject: Re: [PATCH] netfilter: nf_tables: fix oops when using gotos Date: Fri, 7 Feb 2014 17:23:30 +0100 Message-ID: <20140207162330.GA4917@localhost> References: <1391789931-3917-1-git-send-email-pablo@netfilter.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kaber@trash.net To: netfilter-devel@vger.kernel.org Return-path: Received: from mail.us.es ([193.147.175.20]:58348 "EHLO mail.us.es" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751814AbaBGQXg (ORCPT ); Fri, 7 Feb 2014 11:23:36 -0500 Content-Disposition: inline In-Reply-To: <1391789931-3917-1-git-send-email-pablo@netfilter.org> Sender: netfilter-devel-owner@vger.kernel.org List-ID: On Fri, Feb 07, 2014 at 05:18:51PM +0100, Pablo Neira Ayuso wrote: > Fix an oops if you use the "goto" operation, you will end up in > non-base chain with no counters and no default policy. While at > it, uninlined nft_chain_stats() since it doesn't make sense to > optimize a debugging facility that is rarely used. > > Signed-off-by: Pablo Neira Ayuso > --- > I noticed this when testing the compat layer. > > @Patrick: When working on this I noticed I accidentally has skipped > this patch: http://www.spinics.net/lists/netfilter-devel/msg29828.html > I have included this change in this fix. Sorry for that. Oops, unlined the wrong function...