fix undefined symbols
Subsystems (3)
PATCH 1/1 fix undefined symbols
Hi,
with 2.5.15-git7 I get the following warning:
*** Warning: "compare_ether_addr" [net/ipv6/netfilter/ip6t_mac.ko] undefined! *** Warning: "compare_ether_addr" [net/bridge/netfilter/ebt_stp.ko] undefined!
The following patch fixes it.
Regards,
Carl-Daniel
Signed-off-by Carl-Daniel Hailfinger <[email protected]>
net/ipv6/netfilter/ip6t_mac.c renamed from net/ipv6/netfilter/ip6t_mac.c~ +1 -0
@@ -11,6 +11,7 @@#include <linux/module.h> #include <linux/skbuff.h> #include <linux/if_ether.h> +#include <linux/etherdevice.h> #include <linux/netfilter_ipv6/ip6t_mac.h> #include <linux/netfilter_ipv6/ip6_tables.h>
net/bridge/netfilter/ebt_stp.c renamed from net/bridge/netfilter/ebt_stp.c~ +1 -0
@@ -11,6 +11,7 @@#include <linux/netfilter_bridge/ebtables.h> #include <linux/netfilter_bridge/ebt_stp.h> #include <linux/module.h> +#include <linux/etherdevice.h> #define BPDU_TYPE_CONFIG 0#define BPDU_TYPE_TCN 0x80
Quoted 6 lines · Carl-Daniel Hailfinger
with 2.5.15-git7 I get the following warning:
*** Warning: "
compare_ether_addr" [net/ipv6/netfilter/ip6t_mac.ko] undefined! *** Warning: "compare_ether_addr" [net/bridge/netfilter/ebt_stp.ko] undefined!The following patch fixes it.
Dave Miller already got patches for this queued.