diff options
author | 2015-03-10 10:27:18 +0100 | |
---|---|---|
committer | 2015-03-10 15:03:02 +0100 | |
commit | 1a4ba64d16a42c1b31d52b671accd7f9103e2626 (patch) | |
tree | f1f61462f14d2017965dae56d82cd05d947cc854 /drivers/atm/nicstar.c | |
parent | netfilter: fix sparse warnings in reject handling (diff) | |
download | linux-1a4ba64d16a42c1b31d52b671accd7f9103e2626.tar.gz linux-1a4ba64d16a42c1b31d52b671accd7f9103e2626.tar.bz2 linux-1a4ba64d16a42c1b31d52b671accd7f9103e2626.zip |
netfilter: bridge: use rcu hook to resolve br_netfilter dependency
e5de75b ("netfilter: bridge: move DNAT helper to br_netfilter") results
in the following link problem:
net/bridge/br_device.c:29: undefined reference to `br_nf_prerouting_finish_bridge`
Moreover it creates a hard dependency between br_netfilter and the
bridge core, which is what we've been trying to avoid so far.
Resolve this problem by using a hook structure so we reduce #ifdef
pollution and keep bridge netfilter specific code under br_netfilter.c
which was the original intention.
Reported-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'drivers/atm/nicstar.c')
0 files changed, 0 insertions, 0 deletions