diff options
author | Florian Westphal <fw@strlen.de> | 2014-09-30 10:59:18 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-30 20:07:51 +0200 |
commit | 57f5877c11b244ff2315f4ba0e57b54fe013581f (patch) | |
tree | 7e122ae01871dcd51555f16ba9e8067f42bceec1 /firmware/kaweth | |
parent | Merge branch 'am335x' (diff) | |
download | linux-57f5877c11b244ff2315f4ba0e57b54fe013581f.tar.xz linux-57f5877c11b244ff2315f4ba0e57b54fe013581f.zip |
netfilter: bridge: build br_nf_core only if required
Eric reports build failure with
CONFIG_BRIDGE_NETFILTER=n
We insist to build br_nf_core.o unconditionally, but we must only do so
if br_netfilter was enabled, else it fails to build due to
functions being defined to empty stubs (and some structure members
being defined out).
Also, BRIDGE_NETFILTER=y|m makes no sense when BRIDGE=n.
Fixes: 34666d467 (netfilter: bridge: move br_netfilter out of the core)
Reported-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'firmware/kaweth')
0 files changed, 0 insertions, 0 deletions