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 <hauke@hauke-m.de> SVN-Revision: 39533
This commit is contained in:
parent
8f0ffe9cc6
commit
7790ac5ecc
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@
|
||||||
|
|
||||||
/* br_netfilter.c */
|
/* br_netfilter.c */
|
||||||
#ifdef CONFIG_BRIDGE_NETFILTER
|
#ifdef CONFIG_BRIDGE_NETFILTER
|
||||||
+int brnf_call_ebtables;
|
+extern int brnf_call_ebtables;
|
||||||
int br_netfilter_init(void);
|
int br_netfilter_init(void);
|
||||||
void br_netfilter_fini(void);
|
void br_netfilter_fini(void);
|
||||||
void br_netfilter_rtable_init(struct net_bridge *);
|
void br_netfilter_rtable_init(struct net_bridge *);
|
||||||
|
|
Loading…
Reference in a new issue