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

2 messages, 2 authors, 2021-06-09 · open the first message on its own page

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

From: Randy Dunlap <hidden>
Date: 2021-06-09 22:00:48

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.

-- 
~Randy
Reported-by: Randy Dunlap <redacted>

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

From: Pablo Neira Ayuso <pablo@netfilter.org>
Date: 2021-06-09 22:03:01

On Wed, Jun 09, 2021 at 03:00:42PM -0700, Randy Dunlap wrote:
On 6/9/21 5:57 AM, Stephen Rothwell wrote:
quoted
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help