Re: 2.5.47 ipv4 netfilter compile time error

Felipe W Damasio (felipewd@terra.com.br)
Mon, 11 Nov 2002 03:25:38 +0000


This is a multi-part message in MIME format.
--------------000503020203090607090106
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

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

--------------000503020203090607090106
Content-Type: text/plain;
name="tcpmss.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="tcpmss.diff"

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

--------------000503020203090607090106--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/