Skip to content
Commit dc2f4189 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Pablo Neira Ayuso
Browse files

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: 971502d7 ("bridge: netfilter: unroll NF_HOOK helper in bridge input path")
Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 223fd0ad
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment