Re: [bug report] netfilter: nf_tables: add register tracking infrastructure

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

 



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@xxxxxxxxxxxxx/



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux