public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: 2.5.47 ipv4 netfilter compile time error
  2002-11-11  4:56 2.5.47 ipv4 netfilter compile time error Grzegorz Jaskiewicz
@ 2002-11-11  3:25 ` Felipe W Damasio
  2002-11-11  5:24   ` Grzegorz Jaskiewicz
  2002-11-11 13:26 ` Ognen Duzlevski
  1 sibling, 1 reply; 5+ messages in thread
From: Felipe W Damasio @ 2002-11-11  3:25 UTC (permalink / raw)
  To: Grzegorz Jaskiewicz; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 427 bytes --]

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

	Try this patch.

Felipe



[-- Attachment #2: tcpmss.diff --]
[-- Type: text/plain, Size: 435 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 2.5.47 ipv4 netfilter compile time error
  2002-11-11  5:24   ` Grzegorz Jaskiewicz
@ 2002-11-11  3:41     ` Felipe W Damasio
  0 siblings, 0 replies; 5+ messages in thread
From: Felipe W Damasio @ 2002-11-11  3:41 UTC (permalink / raw)
  To: Grzegorz Jaskiewicz; +Cc: linux-kernel-list

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* 2.5.47 ipv4 netfilter compile time error
@ 2002-11-11  4:56 Grzegorz Jaskiewicz
  2002-11-11  3:25 ` Felipe W Damasio
  2002-11-11 13:26 ` Ognen Duzlevski
  0 siblings, 2 replies; 5+ messages in thread
From: Grzegorz Jaskiewicz @ 2002-11-11  4:56 UTC (permalink / raw)
  To: linux-kernel

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





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 2.5.47 ipv4 netfilter compile time error
  2002-11-11  3:25 ` Felipe W Damasio
@ 2002-11-11  5:24   ` Grzegorz Jaskiewicz
  2002-11-11  3:41     ` Felipe W Damasio
  0 siblings, 1 reply; 5+ messages in thread
From: Grzegorz Jaskiewicz @ 2002-11-11  5:24 UTC (permalink / raw)
  To: Felipe W Damasio; +Cc: linux-kernel-list

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 2.5.47 ipv4 netfilter compile time error
  2002-11-11  4:56 2.5.47 ipv4 netfilter compile time error Grzegorz Jaskiewicz
  2002-11-11  3:25 ` Felipe W Damasio
@ 2002-11-11 13:26 ` Ognen Duzlevski
  1 sibling, 0 replies; 5+ messages in thread
From: Ognen Duzlevski @ 2002-11-11 13:26 UTC (permalink / raw)
  To: Grzegorz Jaskiewicz; +Cc: linux-kernel

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-11-11 13:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-11  4:56 2.5.47 ipv4 netfilter compile time error Grzegorz Jaskiewicz
2002-11-11  3:25 ` Felipe W Damasio
2002-11-11  5:24   ` Grzegorz Jaskiewicz
2002-11-11  3:41     ` Felipe W Damasio
2002-11-11 13:26 ` Ognen Duzlevski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox