Re: ipt_IPV4OPTSSTRIP & Linux 2.6.14.4

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

 



> [...]
>   CC [M]  net/ipv4/netfilter/ipt_IPV4OPTSSTRIP.o
> net/ipv4/netfilter/ipt_IPV4OPTSSTRIP.c: In function `target':
> net/ipv4/netfilter/ipt_IPV4OPTSSTRIP.c:33: warning: implicit declaration of function `skb_ip_make_writable'
> net/ipv4/netfilter/ipt_IPV4OPTSSTRIP.c:52: error: structure has no member named `nfcache'
> net/ipv4/netfilter/ipt_IPV4OPTSSTRIP.c:52: error: `NFC_ALTERED' undeclared (first use in this function)
> net/ipv4/netfilter/ipt_IPV4OPTSSTRIP.c:52: error: (Each undeclared identifier is reported only once
> net/ipv4/netfilter/ipt_IPV4OPTSSTRIP.c:52: error: for each function it appears in.)
> make[3]: *** [net/ipv4/netfilter/ipt_IPV4OPTSSTRIP.o] Error 1
> make[2]: *** [net/ipv4/netfilter] Error 2
> make[1]: *** [net/ipv4] Error 2
> make: *** [net] Error 2
> 
> A short "grep skb_ip_make_writable net/ipv4/netfilter/*.c" shows that
> skb_ip_make_writable() is only used in the IPV4OPTSSTRIP extension. Has
> anyone else seen this error?

skb_ip_make_writable is renamed to skb_make_writable, but that's a
"warning", it's not what causes the compile error(*). 

The compile error is because of this line :
	skb->nfcache |= NFC_ALTERED;

which I removed, not knowing what it does, and then ipt_IPV4OPTSSTRIP 
compiles... but I don't know if it works :)


* it would be problem if you tried to use the module, it
 wouldn't load because of missing symbols.


-- 
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