Ticket #6421: 625-netfilter_ip6t_reject_fix.patch

File 625-netfilter_ip6t_reject_fix.patch, 1006 bytes (added by pverda@…, 7 years ago)

patch for unresolved rt6_lookup

  • net/ipv6/ipv6_syms.c

    a b EXPORT_SYMBOL(ipv6_get_saddr); 
    3434EXPORT_SYMBOL(ipv6_chk_addr); 
    3535EXPORT_SYMBOL(in6_dev_finish_destroy); 
    3636EXPORT_SYMBOL(ipv6_skip_exthdr); 
    37  
     37EXPORT_SYMBOL(rt6_lookup); 
  • net/ipv6/netfilter/ip6t_REJECT.c

    a b  
    1515#include <linux/netfilter_ipv6/ip6_tables.h> 
    1616#include <linux/netfilter_ipv6/ip6t_REJECT.h> 
    1717 
    18 #if 1 
     18#if 0 
    1919#define DEBUGP printk 
    2020#else 
    2121#define DEBUGP(format, args...) 
    static unsigned int reject6_target(struc 
    164164                memcpy(&odev, out, sizeof(odev)); 
    165165        } 
    166166 
    167         printk(KERN_DEBUG "%s: medium point\n", __FUNCTION__); 
     167        DEBUGP(KERN_DEBUG "%s: medium point\n", __FUNCTION__); 
    168168        /* WARNING: This code causes reentry within ip6tables. 
    169169           This means that the ip6tables jump stack is now crap.  We 
    170170           must return an absolute verdict. --RR */ 
    static void __exit fini(void) 
    299299 
    300300module_init(init); 
    301301module_exit(fini); 
     302MODULE_LICENSE("GPL");