Re: 2.5.47 ipv4 netfilter compile time error

From: Felipe W Damasio (felipewd@terra.com.br)
Date: Sun Nov 10 2002 - 22:25:38 EST


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


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

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



This archive was generated by hypermail 2b29 : Fri Nov 15 2002 - 22:00:21 EST