From: Felipe W Damasio <felipewd@terra.com.br>
To: Grzegorz Jaskiewicz <gj@pointblue.com.pl>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.5.47 ipv4 netfilter compile time error
Date: Mon, 11 Nov 2002 03:25:38 +0000 [thread overview]
Message-ID: <3DCF2332.2050004@terra.com.br> (raw)
In-Reply-To: 1036990568.24251.4.camel@flat41
[-- 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;
next prev parent reply other threads:[~2002-11-11 5:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-11 4:56 2.5.47 ipv4 netfilter compile time error Grzegorz Jaskiewicz
2002-11-11 3:25 ` Felipe W Damasio [this message]
2002-11-11 5:24 ` Grzegorz Jaskiewicz
2002-11-11 3:41 ` Felipe W Damasio
2002-11-11 13:26 ` Ognen Duzlevski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3DCF2332.2050004@terra.com.br \
--to=felipewd@terra.com.br \
--cc=gj@pointblue.com.pl \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.