From: Jan-Frode Myklebust <janfrode@parallab.no>
To: linux-kernel@vger.kernel.org
Subject: 2.5.46-bk minor fix
Date: Sun, 10 Nov 2002 20:08:34 +0100 [thread overview]
Message-ID: <20021110200834.A15624@ii.uib.no> (raw)
The current 2.5.46-bk failes to build for me. Ends up with:
gcc -Wp,-MD,net/ipv4/netfilter/.ipt_TCPMSS.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -Iarch/i386/mach-generic -nostdinc -iwithprefix include -DMODULE -DKBUILD_BASENAME=ipt_TCPMSS -c -o net/ipv4/netfilter/ipt_TCPMSS.o net/ipv4/netfilter/ipt_TCPMSS.c
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[4]: *** [net/ipv4/netfilter/ipt_TCPMSS.o] Error 1
make[3]: *** [net/ipv4/netfilter] Error 2
make[2]: *** [net/ipv4] Error 2
make[1]: *** [net] Error 2
make: *** [modules] Error 2
The following patch seemingly fixes it, but I don't know if it's correct:
===== net/ipv4/netfilter/ipt_TCPMSS.c 1.6 vs ? (writable without lock!) =====
--- 1.6/net/ipv4/netfilter/ipt_TCPMSS.c Sat Nov 2 11:25:59 2002
+++ ?/net/ipv4/netfilter/ipt_TCPMSS.c Sun Nov 10 20:04:34 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;
-jf
reply other threads:[~2002-11-10 19:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20021110200834.A15624@ii.uib.no \
--to=janfrode@parallab.no \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®