Re: linux-next: Tree for Jun 9 (net/netfilter/nfnetlink_hook.c)

From: Pablo Neira Ayuso
Date: Wed Jun 09 2021 - 18:03:01 EST


On Wed, Jun 09, 2021 at 03:00:42PM -0700, Randy Dunlap wrote:
> On 6/9/21 5:57 AM, Stephen Rothwell wrote:
> > Hi all,
> >
> > Changes since 20210608:
> >
>
> on i386:
>
> ../net/netfilter/nfnetlink_hook.c: In function ‘nfnl_hook_put_nft_chain_info’:
> ../net/netfilter/nfnetlink_hook.c:76:7: error: implicit declaration of function ‘nft_is_active’; did you mean ‘sev_es_active’? [-Werror=implicit-function-declaration]
> if (!nft_is_active(net, chain))
> ^~~~~~~~~~~~~
> sev_es_active
> ../net/netfilter/nfnetlink_hook.c: In function ‘nfnl_hook_entries_head’:
> ../net/netfilter/nfnetlink_hook.c:175:21: warning: unused variable ‘netdev’ [-Wunused-variable]
> struct net_device *netdev;
> ^~~~~~
> cc1: some warnings being treated as errors
>
>
> Full randconfig file is attached.

Upstream fix already in nf-next.

https://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git/commit/?id=d4fb1f954fc7e2044b64b7d690400b99a6d5775c

Thanks for reporting.