From 7790ac5ecc2e468e525362aff10e66775beb68e4 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sat, 8 Feb 2014 15:36:03 +0000 Subject: [PATCH] kernel: fix bridge compilation on kernel 3.13 The int brnf_call_ebtables in the header should be extern, otherwise every object file gets its own int and they will conflict when linking the binary. Signed-off-by: Hauke Mehrtens SVN-Revision: 39533 --- .../patches-3.13/644-bridge_optimize_netfilter_hooks.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/generic/patches-3.13/644-bridge_optimize_netfilter_hooks.patch b/target/linux/generic/patches-3.13/644-bridge_optimize_netfilter_hooks.patch index 23eb2859f1..3d5ea84ab0 100644 --- a/target/linux/generic/patches-3.13/644-bridge_optimize_netfilter_hooks.patch +++ b/target/linux/generic/patches-3.13/644-bridge_optimize_netfilter_hooks.patch @@ -100,7 +100,7 @@ /* br_netfilter.c */ #ifdef CONFIG_BRIDGE_NETFILTER -+int brnf_call_ebtables; ++extern int brnf_call_ebtables; int br_netfilter_init(void); void br_netfilter_fini(void); void br_netfilter_rtable_init(struct net_bridge *); -- 2.25.1