Subject: 2.5.47 ipv4 netfilter compile time error

Hello !


i've discovered this error during compilation:

net/ipv4/netfilter/ipt_TCPMSS.c: In function `ipt_tcpmss_target':
net/ipv4/netfilter/ipt_TCPMSS.c:95: structure has no member named `pmtu'
make[3]: *** [net/ipv4/netfilter/ipt_TCPMSS.o] Error 1
make[2]: *** [net/ipv4/netfilter] Error 2
make[1]: *** [net/ipv4] Error 2
make: *** [net] Error 2

on demand i'll include .config

now i will switch off this one, and try to compile it without netfilter.
It is still impossilble to make saa7146 module too...

anyway, keep doing this good job folks.

--
Greg Iaskievitch





2002-11-11 05:22:41

by Felipe W Damasio

[permalink] [raw]
Subject: Re: 2.5.47 ipv4 netfilter compile time error

--- linux-2.5.47/net/ipv4/netfilter/ipt_TCPMSS.c.orig Mon Nov 11 03:23:43 2002
+++ linux-2.5.47/net/ipv4/netfilter/ipt_TCPMSS.c Mon Nov 11 03:23:51 2002
@@ -92,7 +92,7 @@
return NF_DROP; /* or IPT_CONTINUE ?? */
}

- newmss = dst_pmtu((*pskb)->dst->pmtu) - sizeof(struct iphdr) - sizeof(struct tcphdr);
+ newmss = dst_pmtu((*pskb)->dst) - sizeof(struct iphdr) - sizeof(struct tcphdr);
} else
newmss = tcpmssinfo->mss;


Attachments:
tcpmss.diff (435.00 B)
Subject: Re: 2.5.47 ipv4 netfilter compile time error

On Mon, 2002-11-11 at 03:25, Felipe W Damasio wrote:
> Try this patch.
>
> Felipe

Works fine, i've just done the same thing.
Thx ;]

Can somebody include this into kernel ?

--
GJ


2002-11-11 05:38:10

by Felipe W Damasio

[permalink] [raw]
Subject: Re: 2.5.47 ipv4 netfilter compile time error

Grzegorz Jaskiewicz wrote:
> On Mon, 2002-11-11 at 03:25, Felipe W Damasio wrote:
>
>> Try this patch.
>>
>>Felipe
>
>
> Works fine, i've just done the same thing.
> Thx ;]
>
> Can somebody include this into kernel ?

I just sent it to rusty's trivial patch monkey...should be included in
the next release.

Felipe

2002-11-11 13:18:48

by Ognen Duzlevski

[permalink] [raw]
Subject: Re: 2.5.47 ipv4 netfilter compile time error

There was a patch for this for 2.5.45 and 2.5.46, one would think it would
get fixed eventually...

Ognen

On 11 Nov 2002, Grzegorz Jaskiewicz wrote:

> Hello !
>
>
> i've discovered this error during compilation:
>
> net/ipv4/netfilter/ipt_TCPMSS.c: In function `ipt_tcpmss_target':
> net/ipv4/netfilter/ipt_TCPMSS.c:95: structure has no member named `pmtu'
> make[3]: *** [net/ipv4/netfilter/ipt_TCPMSS.o] Error 1
> make[2]: *** [net/ipv4/netfilter] Error 2
> make[1]: *** [net/ipv4] Error 2
> make: *** [net] Error 2
>
> on demand i'll include .config
>
> now i will switch off this one, and try to compile it without netfilter.
> It is still impossilble to make saa7146 module too...
>
> anyway, keep doing this good job folks.
>
> --
> Greg Iaskievitch