]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
bridge: only include nf_queue.h if needed
authorStephen Rothwell <sfr@canb.auug.org.au>
Sat, 13 Apr 2019 04:03:36 +0000 (14:03 +1000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 15 Apr 2019 16:47:36 +0000 (18:47 +0200)
commitdc2f4189dcd2c87e211d30d9524ae8ebe19af577
tree692eddd20da9043df4f2ad488ecb91ac4609b30c
parent223fd0adfa8af36d5d9b5d38016e579ee052f367
bridge: only include nf_queue.h if needed

After merging the netfilter-next tree, today's linux-next build (powerpc
ppc44x_defconfig) failed like this:

In file included from net/bridge/br_input.c:19:
include/net/netfilter/nf_queue.h:16:23: error: field 'state' has incomplete type
  struct nf_hook_state state;
                       ^~~~~

Fixes: 971502d77faa ("bridge: netfilter: unroll NF_HOOK helper in bridge input path")
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/bridge/br_input.c