On Tue, Mar 10, 2015 at 12:25:55PM +0100, Pablo Neira Ayuso wrote: > 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@xxxxxxxxxxxxx> > Signed-off-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> Thanks, I have confirmed that this resolves the link problem. Reviewed-by: Simon Horman <simon.horman@xxxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html