[PATCH]: make ipt_XOR.c compile with recent kernels

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



skb_ip_make_writable has been renamed to skb_make_writable in more
recent kernels:

--- net/ipv4/netfilter/ipt_XOR.c~       2005-12-21 17:36:53.000000000 +0100
+++ net/ipv4/netfilter/ipt_XOR.c        2005-12-21 17:37:11.000000000 +0100
@@ -31,7 +31,7 @@
        struct udphdr *udph;
        int i, j, k;

-       if (!skb_ip_make_writable(pskb, (*pskb)->len))
+       if (!skb_make_writable(pskb, (*pskb)->len))
                return NF_DROP;

        iph = (*pskb)->nh.iph;

-- 
damjan | дамјан
This is my jabber ID --> damjan@xxxxxxxxxxxx <-- not my mail address!!!


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux