kernel: fix bridge compilation on kernel 3.13
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 8 Feb 2014 15:36:03 +0000 (15:36 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 8 Feb 2014 15:36:03 +0000 (15:36 +0000)
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

target/linux/generic/patches-3.13/644-bridge_optimize_netfilter_hooks.patch

index 23eb2859f16233f7d9f4384c914879dd858fef88..3d5ea84ab0372d0e74d481f7141768e6b369cb84 100644 (file)
  
  /* 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 *);