Re: linux-next: build failure after merge of the netfilter-next tree

From: Stephen Rothwell
Date: Sat Apr 13 2019 - 00:05:52 EST


Hi Florian,

On Fri, 12 Apr 2019 10:15:27 +0200 Florian Westphal <fw@xxxxxxxxx> wrote:
>
> Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
> > After merging the netfilter tree, today's linux-next build (powerpc
> > ppc44x_defconfig) failed like this:
> >
> > In file included from /home/sfr/next/next/net/bridge/br_input.c:19:
> > /home/sfr/next/next/include/net/netfilter/nf_queue.h:16:23: error: field 'state'
> > has incomplete type
> > struct nf_hook_state state;
> > ^~~~~
> > Caused by commit
> >
> > 971502d77faa ("bridge: netfilter: unroll NF_HOOK helper in bridge input path")
> >
> > This build has CONFIG_NETFILTER not set.
> >
> > I have applied this patch for today:
>
> Can you submit this fix formally to netfilter-devel@xxxxxxxxxxxxxxx?

Done. Though I was hoping someone might come up with a better solution
(I don't particularly like conditional inclusions).

--
Cheers,
Stephen Rothwell

Attachment: pgp61sCltkMaj.pgp
Description: OpenPGP digital signature