Linux Netfilter development
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Dan Carpenter <dan.carpenter@oracle.com>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [bug report] netfilter: nf_tables: add register tracking infrastructure
Date: Wed, 12 Jan 2022 12:32:11 +0100	[thread overview]
Message-ID: <Yd68O1lI+F5yUSGH@salvia> (raw)
In-Reply-To: <20220112111608.GA3019@kili>

On Wed, Jan 12, 2022 at 02:16:08PM +0300, Dan Carpenter wrote:
> Hello Pablo Neira Ayuso,
> 
> The patch 12e4ecfa244b: "netfilter: nf_tables: add register tracking
> infrastructure" from Jan 9, 2022, leads to the following Smatch
> static checker warning:
> 
> 	net/netfilter/nf_tables_api.c:8303 nf_tables_commit_chain_prepare()
> 	error: uninitialized symbol 'last'.
> 
> net/netfilter/nf_tables_api.c
>     8259 static int nf_tables_commit_chain_prepare(struct net *net, struct nft_chain *chain)
>     8260 {
>     8261         const struct nft_expr *expr, *last;
>                                                ^^^^

Thanks:

https://patchwork.ozlabs.org/project/netfilter-devel/patch/20220112113134.340731-1-pablo@netfilter.org/

      reply	other threads:[~2022-01-12 11:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-12 11:16 [bug report] netfilter: nf_tables: add register tracking infrastructure Dan Carpenter
2022-01-12 11:32 ` 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=Yd68O1lI+F5yUSGH@salvia \
    --to=pablo@netfilter.org \
    --cc=dan.carpenter@oracle.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox