Re: [PATCH] netfilter: nf_tables: fix oops when using gotos

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 07, 2014 at 05:23:30PM +0100, Pablo Neira Ayuso wrote:
> 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 <pablo@xxxxxxxxxxxxx>
> > ---
> > 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...

I'm going to push this leftover fix to nf:

http://patchwork.ozlabs.org/patch/308930/

Will resend a v2 to fix the goto issue.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux