From 71cfc8d0244319cd501e9352f5c090bb4549616f Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 22 May 2011 16:57:27 +0000 Subject: [PATCH] generic-2.4: fix missing symbol in ip6tables REJECT target on brcm-2.4 (#6421) SVN-Revision: 26971 --- .../625-netfilter_ip6t_reject_fix.patch | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 target/linux/generic-2.4/patches/625-netfilter_ip6t_reject_fix.patch diff --git a/target/linux/generic-2.4/patches/625-netfilter_ip6t_reject_fix.patch b/target/linux/generic-2.4/patches/625-netfilter_ip6t_reject_fix.patch new file mode 100644 index 0000000000..e6d98910db --- /dev/null +++ b/target/linux/generic-2.4/patches/625-netfilter_ip6t_reject_fix.patch @@ -0,0 +1,33 @@ +--- a/net/ipv6/ipv6_syms.c ++++ b/net/ipv6/ipv6_syms.c +@@ -34,4 +34,4 @@ EXPORT_SYMBOL(ipv6_get_saddr); + EXPORT_SYMBOL(ipv6_chk_addr); + EXPORT_SYMBOL(in6_dev_finish_destroy); + EXPORT_SYMBOL(ipv6_skip_exthdr); +- ++EXPORT_SYMBOL(rt6_lookup); +--- a/net/ipv6/netfilter/ip6t_REJECT.c ++++ b/net/ipv6/netfilter/ip6t_REJECT.c +@@ -15,7 +15,7 @@ + #include + #include + +-#if 1 ++#if 0 + #define DEBUGP printk + #else + #define DEBUGP(format, args...) +@@ -164,7 +164,7 @@ static unsigned int reject6_target(struc + memcpy(&odev, out, sizeof(odev)); + } + +- printk(KERN_DEBUG "%s: medium point\n", __FUNCTION__); ++ DEBUGP(KERN_DEBUG "%s: medium point\n", __FUNCTION__); + /* WARNING: This code causes reentry within ip6tables. + This means that the ip6tables jump stack is now crap. We + must return an absolute verdict. --RR */ +@@ -299,3 +299,4 @@ static void __exit fini(void) + + module_init(init); + module_exit(fini); ++MODULE_LICENSE("GPL"); -- 2.30.2